Stefan Leichter : dmloader: Print 64bit integers with
wine_dbgstr_longlong.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Sep 20 05:33:34 CDT 2006
Module: wine
Branch: master
Commit: 0eab04289044dae35b406889e411c2b940af2d6f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=0eab04289044dae35b406889e411c2b940af2d6f
Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date: Mon Sep 18 22:25:31 2006 +0200
dmloader: Print 64bit integers with wine_dbgstr_longlong.
---
dlls/dmloader/debug.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/dmloader/debug.c b/dlls/dmloader/debug.c
index 90dda5f..68b76d5 100644
--- a/dlls/dmloader/debug.c
+++ b/dlls/dmloader/debug.c
@@ -494,7 +494,8 @@ const char *debugstr_DMUS_OBJECTDESC (LP
if (pDesc->dwValidData & DMUS_OBJ_NAME) ptr += sprintf(ptr, " - wszName = %s\n", debugstr_w(pDesc->wszName));
if (pDesc->dwValidData & DMUS_OBJ_CATEGORY) ptr += sprintf(ptr, " - wszCategory = %s\n", debugstr_w(pDesc->wszCategory));
if (pDesc->dwValidData & DMUS_OBJ_FILENAME) ptr += sprintf(ptr, " - wszFileName = %s\n", debugstr_w(pDesc->wszFileName));
- if (pDesc->dwValidData & DMUS_OBJ_MEMORY) ptr += sprintf(ptr, " - llMemLength = %lli\n - pbMemData = %p\n", pDesc->llMemLength, pDesc->pbMemData);
+ if (pDesc->dwValidData & DMUS_OBJ_MEMORY) ptr += sprintf(ptr, " - llMemLength = 0x%s\n - pbMemData = %p\n",
+ wine_dbgstr_longlong(pDesc->llMemLength), pDesc->pbMemData);
if (pDesc->dwValidData & DMUS_OBJ_STREAM) ptr += sprintf(ptr, " - pStream = %p\n", pDesc->pStream);
ptr = &buffer[0];
More information about the wine-cvs
mailing list