[PATCH 2/2] dnsapi: DnsQueryEx partial implementation (try 2)

Hans Leidekker hans at codeweavers.com
Wed Jan 13 03:38:48 CST 2016


On Tue, 2016-01-12 at 22:55 +0300, Donat Enikeev wrote:

This produces a warning on Mac OS:

gcc -m32 -c -o query.o query.c -I. -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith -gdwarf-2 -gstrict-dwarf \
  -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
query.c:701:17: warning: format specifies type 'unsigned short' but the argument has type 'UCHAR' (aka 'unsigned char') [-Wformat]
                p_sockaddr->sin_addr.WS_s_impno, p_sockaddr->sin_addr.WS_s_lh,
                ^





More information about the wine-devel mailing list