Pedro F. Giffuni 5f2bd3bdac scandir(3): promote arraysz to size_t to match numitems.
The internal array size goes through a loop and is compared with numitems
which at its limits makes can be unreachably higher than arraysz.
Prevent an hypothetical overflow by matching the types.

MFC after:	1 week
2017-04-24 14:56:41 +00:00
..
2017-03-28 10:39:17 +00:00
2017-02-28 23:42:47 +00:00
2017-01-30 23:00:51 +00:00
2016-11-11 23:28:07 +00:00
2017-04-23 03:36:03 +00:00
2017-02-28 23:42:47 +00:00
2016-11-20 06:10:12 +00:00
2017-03-11 00:08:11 +00:00
2017-04-07 06:06:55 +00:00
2017-02-27 00:10:00 +00:00
2017-03-19 00:51:12 +00:00
2017-02-14 13:35:59 +00:00
2017-02-28 23:42:47 +00:00
2017-04-15 20:05:22 +00:00
2017-02-28 23:42:47 +00:00
2017-04-15 20:05:22 +00:00