gcc 4.6 warning report

Juan Lang juan.lang at gmail.com
Tue Jun 28 14:51:02 CDT 2011

../../../dlls/netapi32/nbt.c:580:30: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

This is a false positive.  h_addr_list is declared as a char **, and
technically it is, but gethostbyname only returns IPv4 addresses, i.e.
ones that can fit in a DWORD.

More information about the wine-devel mailing list