Stefan Leichter : shlwapi: Print 64bit integers with wine_dbgstr_longlong.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Aug 18 05:40:14 CDT 2006


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

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Thu Aug 17 18:57:42 2006 +0200

shlwapi: Print 64bit integers with wine_dbgstr_longlong.

---

 dlls/shlwapi/string.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shlwapi/string.c b/dlls/shlwapi/string.c
index 34cc5fa..b03bdfb 100644
--- a/dlls/shlwapi/string.c
+++ b/dlls/shlwapi/string.c
@@ -1563,7 +1563,7 @@ LPSTR WINAPI StrFormatKBSizeA(LONGLONG l
   char szBuff[256], *szOut = szBuff + sizeof(szBuff) - 1;
   LONGLONG ulKB = (llBytes + 1023) >> 10;
 
-  TRACE("(%lld,%p,%d)\n", llBytes, lpszDest, cchMax);
+  TRACE("(0x%s,%p,%d)\n", wine_dbgstr_longlong(llBytes), lpszDest, cchMax);
 
   *szOut-- = '\0';
   *szOut-- = 'B';
@@ -1591,7 +1591,7 @@ LPWSTR WINAPI StrFormatKBSizeW(LONGLONG 
   WCHAR szBuff[256], *szOut = szBuff + sizeof(szBuff)/sizeof(WCHAR) - 1;
   LONGLONG ulKB = (llBytes + 1023) >> 10;
 
-  TRACE("(%lld,%p,%d)\n", llBytes, lpszDest, cchMax);
+  TRACE("(0x%s,%p,%d)\n", wine_dbgstr_longlong(llBytes), lpszDest, cchMax);
 
   *szOut-- = '\0';
   *szOut-- = 'B';
@@ -2265,7 +2265,7 @@ #define PB (KB*KB*KB*KB*KB)
   double dBytes;
   UINT i = 0;
 
-  TRACE("(%lld,%p,%d)\n", llBytes, lpszDest, cchMax);
+  TRACE("(0x%s,%p,%d)\n", wine_dbgstr_longlong(llBytes), lpszDest, cchMax);
 
   if (!lpszDest || !cchMax)
     return lpszDest;




More information about the wine-cvs mailing list