summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tools
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-25 19:27:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:09 -0500
commitc199c2af1fa686962bb313222a0a0a29625ec450 (patch)
tree7125f1b1f088fa27f02b78eb374e659b50288c42 /source4/lib/tdb/tools
parent089f3843c5eadc792f9f8399bf3df45601621b2c (diff)
downloadsamba-c199c2af1fa686962bb313222a0a0a29625ec450.tar.gz
samba-c199c2af1fa686962bb313222a0a0a29625ec450.tar.bz2
samba-c199c2af1fa686962bb313222a0a0a29625ec450.zip
r3968: fix compiler warnings
metze (This used to be commit 6440476f7f2fd5776ec4a21240e7482603000d19)
Diffstat (limited to 'source4/lib/tdb/tools')
-rw-r--r--source4/lib/tdb/tools/tdbdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tools/tdbdump.c b/source4/lib/tdb/tools/tdbdump.c
index 822f65e594..dbb647cbbf 100644
--- a/source4/lib/tdb/tools/tdbdump.c
+++ b/source4/lib/tdb/tools/tdbdump.c
@@ -43,7 +43,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)) {