gcc 4.6 warning report

David Laight david at l8s.co.uk
Tue Jun 28 16:33:37 CDT 2011


On Tue, Jun 28, 2011 at 12:51:02PM -0700, Juan Lang wrote:
> ../../../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.

That doesn't sound like a problem that would give that warning.

	David

-- 
David Laight: david at l8s.co.uk



More information about the wine-devel mailing list