Hans Leidekker : dnsapi: Win64 printf format warning fixes.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Oct 2 14:59:51 CDT 2006
Module: wine
Branch: master
Commit: 4e3b3debef9e0a1575e0ca00f3621988df9b511f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=4e3b3debef9e0a1575e0ca00f3621988df9b511f
Author: Hans Leidekker <hans at it.vu.nl>
Date: Sat Sep 30 12:07:06 2006 +0200
dnsapi: Win64 printf format warning fixes.
---
dlls/dnsapi/Makefile.in | 1 -
dlls/dnsapi/main.c | 20 ++++++++++----------
dlls/dnsapi/query.c | 10 +++++-----
3 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/dlls/dnsapi/Makefile.in b/dlls/dnsapi/Makefile.in
index d8d2915..51c254a 100644
--- a/dlls/dnsapi/Makefile.in
+++ b/dlls/dnsapi/Makefile.in
@@ -6,7 +6,6 @@ MODULE = dnsapi.dll
IMPORTLIB = libdnsapi.$(IMPLIBEXT)
IMPORTS = netapi32 kernel32
EXTRALIBS = @RESOLVLIBS@
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
C_SRCS = \
main.c \
diff --git a/dlls/dnsapi/main.c b/dlls/dnsapi/main.c
index faa9cc0..778f7a9 100644
--- a/dlls/dnsapi/main.c
+++ b/dlls/dnsapi/main.c
@@ -34,7 +34,7 @@ HINSTANCE hdnsapi;
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
- TRACE( "(%p, %ld, %p)\n", hinst, reason, reserved );
+ TRACE( "(%p, %d, %p)\n", hinst, reason, reserved );
switch (reason)
{
@@ -57,7 +57,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DW
DNS_STATUS WINAPI DnsAcquireContextHandle_A( DWORD flags, PVOID cred,
HANDLE *context )
{
- FIXME( "(0x%08lx,%p,%p) stub\n", flags, cred, context );
+ FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
*context = (HANDLE)0xdeadbeef;
return ERROR_SUCCESS;
@@ -70,7 +70,7 @@ DNS_STATUS WINAPI DnsAcquireContextHandl
DNS_STATUS WINAPI DnsAcquireContextHandle_UTF8( DWORD flags, PVOID cred,
HANDLE *context )
{
- FIXME( "(0x%08lx,%p,%p) stub\n", flags, cred, context );
+ FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
*context = (HANDLE)0xdeadbeef;
return ERROR_SUCCESS;
@@ -83,7 +83,7 @@ DNS_STATUS WINAPI DnsAcquireContextHandl
DNS_STATUS WINAPI DnsAcquireContextHandle_W( DWORD flags, PVOID cred,
HANDLE *context )
{
- FIXME( "(0x%08lx,%p,%p) stub\n", flags, cred, context );
+ FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
*context = (HANDLE)0xdeadbeef;
return ERROR_SUCCESS;
@@ -132,7 +132,7 @@ DNS_STATUS WINAPI DnsModifyRecordsInSet_
DWORD options, HANDLE context,
PIP4_ARRAY servers, PVOID reserved )
{
- FIXME( "(%p,%p,0x%08lx,%p,%p,%p) stub\n", add, delete, options,
+ FIXME( "(%p,%p,0x%08x,%p,%p,%p) stub\n", add, delete, options,
context, servers, reserved );
return ERROR_SUCCESS;
}
@@ -145,7 +145,7 @@ DNS_STATUS WINAPI DnsModifyRecordsInSet_
DWORD options, HANDLE context,
PIP4_ARRAY servers, PVOID reserved )
{
- FIXME( "(%p,%p,0x%08lx,%p,%p,%p) stub\n", add, delete, options,
+ FIXME( "(%p,%p,0x%08x,%p,%p,%p) stub\n", add, delete, options,
context, servers, reserved );
return ERROR_SUCCESS;
}
@@ -158,7 +158,7 @@ DNS_STATUS WINAPI DnsModifyRecordsInSet_
DWORD options, HANDLE context,
PIP4_ARRAY servers, PVOID reserved )
{
- FIXME( "(%p,%p,0x%08lx,%p,%p,%p) stub\n", add, delete, options,
+ FIXME( "(%p,%p,0x%08x,%p,%p,%p) stub\n", add, delete, options,
context, servers, reserved );
return ERROR_SUCCESS;
}
@@ -184,7 +184,7 @@ DNS_STATUS WINAPI DnsReplaceRecordSetA(
HANDLE context, PIP4_ARRAY servers,
PVOID reserved )
{
- FIXME( "(%p,0x%08lx,%p,%p,%p) stub\n", set, options, context,
+ FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set, options, context,
servers, reserved );
return ERROR_SUCCESS;
}
@@ -197,7 +197,7 @@ DNS_STATUS WINAPI DnsReplaceRecordSetUTF
HANDLE context, PIP4_ARRAY servers,
PVOID reserved )
{
- FIXME( "(%p,0x%08lx,%p,%p,%p) stub\n", set, options, context,
+ FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set, options, context,
servers, reserved );
return ERROR_SUCCESS;
}
@@ -210,7 +210,7 @@ DNS_STATUS WINAPI DnsReplaceRecordSetW(
HANDLE context, PIP4_ARRAY servers,
PVOID reserved )
{
- FIXME( "(%p,0x%08lx,%p,%p,%p) stub\n", set, options, context,
+ FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set, options, context,
servers, reserved );
return ERROR_SUCCESS;
}
diff --git a/dlls/dnsapi/query.c b/dlls/dnsapi/query.c
index 836255c..509e281 100644
--- a/dlls/dnsapi/query.c
+++ b/dlls/dnsapi/query.c
@@ -554,7 +554,7 @@ static DNS_STATUS dns_set_serverlist( PI
if (addrs->AddrCount > MAXNS)
{
- WARN( "too many servers: %ld only using the first: %d\n",
+ WARN( "too many servers: %d only using the first: %d\n",
addrs->AddrCount, MAXNS );
_res.nscount = MAXNS;
}
@@ -656,7 +656,7 @@ DNS_STATUS WINAPI DnsQuery_A( PCSTR name
DNS_RECORDW *resultW;
DNS_STATUS status;
- TRACE( "(%s,%s,0x%08lx,%p,%p,%p)\n", debugstr_a(name), dns_type_to_str( type ),
+ TRACE( "(%s,%s,0x%08x,%p,%p,%p)\n", debugstr_a(name), dns_type_to_str( type ),
options, servers, result, reserved );
if (!name || !result)
@@ -690,7 +690,7 @@ DNS_STATUS WINAPI DnsQuery_UTF8( PCSTR n
DNS_STATUS ret = DNS_ERROR_RCODE_NOT_IMPLEMENTED;
#ifdef HAVE_RESOLV
- TRACE( "(%s,%s,0x%08lx,%p,%p,%p)\n", debugstr_a(name), dns_type_to_str( type ),
+ TRACE( "(%s,%s,0x%08x,%p,%p,%p)\n", debugstr_a(name), dns_type_to_str( type ),
options, servers, result, reserved );
if (!name || !result)
@@ -733,7 +733,7 @@ DNS_STATUS WINAPI DnsQuery_W( PCWSTR nam
DNS_RECORDA *resultA;
DNS_STATUS status;
- TRACE( "(%s,%s,0x%08lx,%p,%p,%p)\n", debugstr_w(name), dns_type_to_str( type ),
+ TRACE( "(%s,%s,0x%08x,%p,%p,%p)\n", debugstr_w(name), dns_type_to_str( type ),
options, servers, result, reserved );
if (!name || !result)
@@ -804,7 +804,7 @@ DNS_STATUS WINAPI DnsQueryConfig( DNS_CO
{
DNS_STATUS ret = ERROR_INVALID_PARAMETER;
- TRACE( "(%d,0x%08lx,%s,%p,%p,%p)\n", config, flag, debugstr_w(adapter),
+ TRACE( "(%d,0x%08x,%s,%p,%p,%p)\n", config, flag, debugstr_w(adapter),
reserved, buffer, len );
if (!len) return ERROR_INVALID_PARAMETER;
More information about the wine-cvs
mailing list