pos can never be less than 0 as it's of type size_t
Also fix the type which is passed in from various places.
This commit is contained in:
1 parent
90c1bb4b73
commit
62ddbd5e74
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -106,7 +106,7 @@ add_connect_port_allowed(int port)
|
||||
static int
|
||||
check_allowed_connect_ports(int port)
|
||||
{
|
||||
ssize_t i;
|
||||
size_t i;
|
||||
int *data;
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user