|
Nmap Development
mailing list archives
[PATCH] Fix libdnet compiler warnings
From: Brandon Enright <bmenrigh () ucsd edu>
Date: Fri, 8 Dec 2006 07:13:12 +0000
Compiling Nmap 4.20 with GCC 4.1.1 on my Linux box produces the following 4
warnings in the libdnet code:
addr-util.c: In function 'ip6_ntop':
addr-util.c:177: warning: 'cur.len' may be used uninitialized in this
function addr-util.c:177: warning: 'best.len' may be used uninitialized in
this function intf.c: In function 'intf_get_dst':
intf.c:626: warning: pointer targets in passing argument 3 of 'getsockname'
differ in signedness ip.c: In function 'ip_open':
ip.c:43: warning: pointer targets in passing argument 5 of 'getsockopt'
differ in signedness
I know it's rather nit-picky but I've attached a patch anyways.
Brandon
--
Brandon Enright
Network Security Analyst
UCSD ACS/Network Operations
bmenrigh () ucsd edu
Attachment:
dnet_patch.txt
Description:
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
By Date
By Thread
Current thread:
- [PATCH] Fix libdnet compiler warnings Brandon Enright (Dec 07)
|