From c2e065a4a7fa385b5658c1fcf1efa9f4ee4351e2 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 1 Nov 2007 10:32:43 +0000 Subject: [PATCH] Fixed printf of pointer --- ziffy/fmemdmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ziffy/fmemdmp.c b/ziffy/fmemdmp.c index 66d84eb..630f7a8 100644 --- a/ziffy/fmemdmp.c +++ b/ziffy/fmemdmp.c @@ -65,8 +65,8 @@ void fmemdmp (FILE * fd, char * ptr, int size, char * text) return; if (text && * text) - fprintf (fd, "\"%s\" at address 0x%08x for %d bytes\n", - text, (unsigned int) ptr, size); + fprintf (fd, "\"%s\" at address %p for %d bytes\n", + text, ptr, size); for (total = 0; total < size; total += bytes_in_a_line) { -- 1.7.10.4