CVS: winex/dlls/ntdll debugtools.c,1.24,1.25

[email protected] 12 Sep 2007 12:12:44 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/dlls/ntdll debugtools.c,1.24,1.25Update of /var/lib/cvsd/cvsroot/winex/dlls/ntdll
In directory agravaine:/tmp/cvs-serv5808/dlls/ntdll

Modified Files:
	debugtools.c 
Log Message:

- made wine_dbgstr_longlong() use %llx instead of printing %lx twice


Index: debugtools.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/ntdll/debugtools.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- debugtools.c	12 Sep 2007 12:11:35 -0000	1.24
+++ debugtools.c	12 Sep 2007 12:12:42 -0000	1.25
@@ -256,11 +256,10 @@
     char *str;
 
 
-
-    if (sizeof(val) > sizeof(unsigned long) && val >> 32){
+    if (sizeof(ULONGLONG) > sizeof(unsigned long)){
         str = gimme1(20);
 
-        sprintf(str, "0x%lx%08lx", (unsigned long)(val >> 32), (unsigned long)val);
+        sprintf(str, "0x%llx", val);
     }
 
     else{