Fixed unsigned vs signed warning (int -> size_t)