]> granicus.if.org Git - mutt/commitdiff
Fix more compiler warnings on amd64 by use of %p instead of %x
authorPaul Walker <paul@black-sun.demon.co.uk>
Tue, 20 May 2008 15:08:28 +0000 (17:08 +0200)
committerPaul Walker <paul@black-sun.demon.co.uk>
Tue, 20 May 2008 15:08:28 +0000 (17:08 +0200)
parse.c

diff --git a/parse.c b/parse.c
index 2b0dae57b6afd837c07345b2e4bde8c0ccad7dac..6c43a8e627ff19d5c3ddbfa6c8add335effb5fae 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -1600,14 +1600,14 @@ int count_body_parts (BODY *body, int flags)
       count++;
     bp->attach_qualifies = shallcount ? 1 : 0;
 
-    dprint(5, (debugfile, "cbp: %08x shallcount = %d\n", (unsigned int)bp, shallcount));
+    dprint(5, (debugfile, "cbp: %p shallcount = %d\n", (void *)bp, shallcount));
 
     if (shallrecurse)
     {
-      dprint(5, (debugfile, "cbp: %08x pre count = %d\n", (unsigned int)bp, count));
+      dprint(5, (debugfile, "cbp: %p pre count = %d\n", (void *)bp, count));
       bp->attach_count = count_body_parts(bp->parts, flags & ~M_PARTS_TOPLEVEL);
       count += bp->attach_count;
-      dprint(5, (debugfile, "cbp: %08x post count = %d\n", (unsigned int)bp, count));
+      dprint(5, (debugfile, "cbp: %p post count = %d\n", (void *)bp, count));
     }
   }