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

Alexandre Julliard julliard at wine.codeweavers.com
Sun Sep 10 03:28:25 CDT 2006


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

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Fri Sep  8 20:29:44 2006 +0200

dswave: Print 64bit integers with wine_dbgstr_longlong.

---

 dlls/dswave/dswave_main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/dswave/dswave_main.c b/dlls/dswave/dswave_main.c
index 7fb96e6..daa37fd 100644
--- a/dlls/dswave/dswave_main.c
+++ b/dlls/dswave/dswave_main.c
@@ -524,7 +524,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", pDesc->pStream);
 
 		return wine_dbg_sprintf("%s", buffer);




More information about the wine-cvs mailing list