summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/tdbdump.c')
-rw-r--r--source3/tdb/tdbdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdbdump.c b/source3/tdb/tdbdump.c
index 3efb29e44c..6cac0bc5cc 100644
--- a/source3/tdb/tdbdump.c
+++ b/source3/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)) {