projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852afaf
)
Fixed printf of pointer
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 1 Nov 2007 10:32:43 +0000
(10:32 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 1 Nov 2007 10:32:43 +0000
(10:32 +0000)
ziffy/fmemdmp.c
patch
|
blob
|
history
diff --git
a/ziffy/fmemdmp.c
b/ziffy/fmemdmp.c
index
66d84eb
..
630f7a8
100644
(file)
--- 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)
{