Nmap Development mailing list archives

Re: patch for compiler warnings


From: Richard Moore <rich () westpoint ltd uk>
Date: Fri, 09 Sep 2005 16:00:13 +0100



William MacKay wrote:
-  int slen = sizeof(struct sockaddr_storage);
+  unsigned int slen = sizeof(struct sockaddr_storage);

This should really be size_t instead of a uint.

Cheers

Rich.
-- 
Richard Moore, Principal Software Engineer,
Westpoint Ltd,
Albion Wharf, 19 Albion Street, Manchester, M1 5LN, England
Tel: +44 161 237 1028
Fax: +44 161 237 1031


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: