Use size_t not ssize_t for len argument. This is always >= 0.
This commit is contained in:
parent
1fda61b5a0
commit
a89d987e8a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user