Use size_t not ssize_t for len argument. This is always >= 0.

This commit is contained in:
Michael Adam 2009-10-10 01:11:10 +02:00
parent 1fda61b5a0
commit a89d987e8a

View File

@ -72,7 +72,7 @@ static vector_t access_list = NULL;
*/ */
static int static int
fill_netmask_array (char *bitmask_string, unsigned char array[], fill_netmask_array (char *bitmask_string, unsigned char array[],
ssize_t len) size_t len)
{ {
unsigned int i; unsigned int i;
long int mask; long int mask;