projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed printf of pointer
[yaz-moved-to-github.git]
/
ziffy
/
fmemdmp.c
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)
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)
{
for (total = 0; total < size; total += bytes_in_a_line)
{