Michael Stefaniuc : comcat: Win64 printf format warning fixes.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 4 14:33:26 CDT 2006


Module: wine
Branch: master
Commit: 276d0900a8f834b267b218abc7b3728b1a1cf26b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=276d0900a8f834b267b218abc7b3728b1a1cf26b

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Oct  4 11:50:15 2006 +0200

comcat: Win64 printf format warning fixes.

---

 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]));
     }




More information about the wine-cvs mailing list