Nmap Development mailing list archives
[PATCH] Fix some signedness warnings
From: Kris Katterjohn <kjak () ispwest com>
Date: Tue, 07 Mar 2006 11:32:04 -0600
The attached patch changes unsigned char pointers to char pointers in nmapfe_sig.c. I was getting quite a few "differ in signedness" warnings from gcc, so I went to investigate and it looks like 'start' and 'end' don't need to be unsigned. So this patch makes the warnings go away and hopefully doesn't break anything. Thanks, Kris Katterjohn
--- nmapfe/nmapfe_sig.c.orig 2006-01-20 18:41:22.000000000 -0600 +++ nmapfe/nmapfe_sig.c 2006-03-06 16:39:14.000000000 -0600 @@ -1241,7 +1241,7 @@ int arg_parse(const char *command, char char **myargv = NULL; int argc = 0; char mycommand[4096]; -unsigned char *start, *end; +char *start, *end; char oldend; *argv = NULL;
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- [PATCH] Fix some signedness warnings Kris Katterjohn (Mar 07)