git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
[samba.git]
/
source
/
tdb
/
tdbdump.c
diff --git
a/source/tdb/tdbdump.c
b/source/tdb/tdbdump.c
index 3efb29e44c1bd2089b9f83f3e05bf43f429f88f6..6cac0bc5ccd415a63286ec2aec71910926835430 100644
(file)
--- a/
source/tdb/tdbdump.c
+++ b/
source/tdb/tdbdump.c
@@
-34,7
+34,7
@@
static void print_data(TDB_DATA d)
{
- unsigned char *p = d.dptr;
+ unsigned char *p =
(unsigned char *)
d.dptr;
int len = d.dsize;
while (len--) {
if (isprint(*p) && !strchr("\"\\", *p)) {