From: Adam Dickmeiss Date: Thu, 1 Nov 2007 10:32:43 +0000 (+0000) Subject: Fixed printf of pointer X-Git-Tag: YAZ.3.0.16~34 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=c2e065a4a7fa385b5658c1fcf1efa9f4ee4351e2;p=yaz-moved-to-github.git Fixed printf of pointer --- 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) {