comcat: Win64 printf format warning fixes.

Michael Stefaniuc mstefani at redhat.de
Wed Oct 4 04:50:15 CDT 2006


---
 dlls/comcat/Makefile.in   |    1 -
 dlls/comcat/information.c |    6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/comcat/Makefile.in b/dlls/comcat/Makefile.in
index cbc1296..2eeee63 100644
--- a/dlls/comcat/Makefile.in
+++ b/dlls/comcat/Makefile.in
@@ -5,7 +5,6 @@ VPATH     = @srcdir@
 MODULE    = comcat.dll
 IMPORTS   = ole32 user32 advapi32 kernel32
 EXTRALIBS = -luuid
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
 
 C_SRCS = \
 	comcat_main.c \
diff --git a/dlls/comcat/information.c b/dlls/comcat/information.c
index 90d14ec..1cc6e35 100644
--- a/dlls/comcat/information.c
+++ b/dlls/comcat/information.c
@@ -120,7 +120,7 @@ static HRESULT WINAPI COMCAT_ICatInforma
     HKEY key;
     HRESULT res;
 
-    TRACE("\n\tCATID:\t%s\n\tLCID:\t%lX\n",debugstr_guid(rcatid), lcid);
+    TRACE("\n\tCATID:\t%s\n\tLCID:\t%X\n",debugstr_guid(rcatid), lcid);
 
     if (rcatid == NULL || ppszDesc == NULL) return E_INVALIDARG;
 
@@ -203,10 +203,10 @@ static HRESULT WINAPI COMCAT_ICatInforma
 
     if (WINE_TRACE_ON(ole)) {
 	ULONG count;
-	TRACE("\n\tCLSID:\t%s\n\tImplemented %lu\n",debugstr_guid(rclsid),cImplemented);
+	TRACE("\n\tCLSID:\t%s\n\tImplemented %u\n",debugstr_guid(rclsid),cImplemented);
 	for (count = 0; count < cImplemented; ++count)
 	    TRACE("\t\t%s\n",debugstr_guid(&rgcatidImpl[count]));
-	TRACE("\tRequired %lu\n",cRequired);
+	TRACE("\tRequired %u\n",cRequired);
 	for (count = 0; count < cRequired; ++count)
 	    TRACE("\t\t%s\n",debugstr_guid(&rgcatidReq[count]));
     }
-- 
1.4.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061004/2d5a298d/attachment-0001.pgp


More information about the wine-patches mailing list