Alexandre Julliard : dbghelp: Don't print garbage chars in ERR message.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 23 08:39:19 CDT 2007


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Apr 23 15:11:58 2007 +0200

dbghelp: Don't print garbage chars in ERR message.

---

 dlls/dbghelp/msc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 6b99ed4..b20f771 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -2444,8 +2444,8 @@ static BOOL codeview_process_info(const struct process* pcs,
         break;
     }
     default:
-        ERR("Unknown CODEVIEW signature %.4s in module %s\n",
-            (const char*)signature, debugstr_w(msc_dbg->module->module.ModuleName));
+        ERR("Unknown CODEVIEW signature %08x in module %s\n",
+            *signature, debugstr_w(msc_dbg->module->module.ModuleName));
         break;
     }
     if (ret)




More information about the wine-cvs mailing list