mirror of
https://github.com/nmap/nmap.git
synced 2026-01-29 01:29:22 +00:00
Updated uses of the ctype function to support explict casting of the arguments
to (int)(unsigned char).
This commit is contained in:
@@ -155,7 +155,7 @@ static void rpc_services_init() {
|
||||
ri.num_alloc *= 3;
|
||||
}
|
||||
|
||||
while(*p && *p != '#' && !isalnum((int) *p)) p++;
|
||||
while(*p && *p != '#' && !isalnum((int) (unsigned char) *p)) p++;
|
||||
|
||||
if (!*p || *p == '#') continue;
|
||||
|
||||
@@ -167,7 +167,7 @@ static void rpc_services_init() {
|
||||
ri.names[ri.num_used] = cp_strdup(p);
|
||||
p = tmpptr + 1;
|
||||
|
||||
while(*p && !isdigit((int) *p)) p++;
|
||||
while(*p && !isdigit((int) (unsigned char) *p)) p++;
|
||||
|
||||
if (!*p)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user