Rob Shearman : winedump: Fix printf warning in the generated code.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 6 05:48:39 CST 2006


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Sun Nov  5 19:01:36 2006 +0000

winedump: Fix printf warning in the generated code.

---

 tools/winedump/output.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winedump/output.c b/tools/winedump/output.c
index 8690c20..dff22be 100644
--- a/tools/winedump/output.c
+++ b/tools/winedump/output.c
@@ -229,7 +229,7 @@ void  output_c_preamble (void)
 
   fprintf (cfile,
            "BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID "
-           "lpvReserved)\n{\n\tTRACE(\"(0x%%p, %%ld, %%p)\\n\",hinstDLL,"
+           "lpvReserved)\n{\n\tTRACE(\"(0x%%p, %%d, %%p)\\n\",hinstDLL,"
            "fdwReason,lpvReserved);\n\n\t"
            "if (fdwReason == DLL_WINE_PREATTACH) return FALSE;\t"
            "/* prefer native version */\n\n\t"




More information about the wine-cvs mailing list