X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=ziffy%2Ffmemdmp.c;h=630f7a8d57c943ec224b9fad3661aaed8fe26b8f;hp=66d84ebb75eb1431c937341e590029cb6da1dcce;hb=c2e065a4a7fa385b5658c1fcf1efa9f4ee4351e2;hpb=852afaf94fd650550999e60782300525c50bdfd2 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) {