Alexandre Julliard : winedump: Avoid printf format warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Dec 8 06:06:57 CST 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Dec  8 11:39:21 2006 +0100

winedump: Avoid printf format warnings.

---

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

diff --git a/tools/winedump/pdb.c b/tools/winedump/pdb.c
index 9dd9c2c..9243b18 100644
--- a/tools/winedump/pdb.c
+++ b/tools/winedump/pdb.c
@@ -479,7 +479,7 @@ static void pdb_jg_dump(void)
            "\tblock_size: %08x\n"
            "\tfree_list:  %04x\n"
            "\ttotal_alloc:%04x\n",
-           sizeof(pdb2) - 1, reader.u.jg.header->ident,
+           (int)sizeof(pdb2) - 1, reader.u.jg.header->ident,
            reader.u.jg.header->signature,
            reader.u.jg.header->block_size,
            reader.u.jg.header->free_list,
@@ -607,7 +607,7 @@ static void pdb_ds_dump(void)
            "\ttoc_size:         %08x\n"
            "\tunknown2:         %08x\n"
            "\ttoc_page:         %08x\n",
-           sizeof(pdb7) - 1, reader.u.ds.header->signature,
+           (int)sizeof(pdb7) - 1, reader.u.ds.header->signature,
            reader.u.ds.header->block_size,
            reader.u.ds.header->unknown1,
            reader.u.ds.header->num_pages,




More information about the wine-cvs mailing list