summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tools/tdbtool.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-01-18 15:45:22 +1100
committerAndrew Tridgell <tridge@samba.org>2008-01-18 15:45:22 +1100
commit61a015a786c52008f4471e62750ad93507bce518 (patch)
tree2942464148744495584b3495f4d325abc3a5d758 /source4/lib/tdb/tools/tdbtool.c
parent524d280ad09c99bcbf63d789e909afdf7edb5860 (diff)
downloadsamba-61a015a786c52008f4471e62750ad93507bce518.tar.gz
samba-61a015a786c52008f4471e62750ad93507bce518.tar.bz2
samba-61a015a786c52008f4471e62750ad93507bce518.zip
merged changes from v3-2-test
(This used to be commit 7077df3e2e3f171532f6a5ac87d45201736c9c11)
Diffstat (limited to 'source4/lib/tdb/tools/tdbtool.c')
-rw-r--r--source4/lib/tdb/tools/tdbtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tools/tdbtool.c b/source4/lib/tdb/tools/tdbtool.c
index 79435a3571..d104ccd7c4 100644
--- a/source4/lib/tdb/tools/tdbtool.c
+++ b/source4/lib/tdb/tools/tdbtool.c
@@ -135,7 +135,7 @@ static void print_data(const char *buf,int len)
if (len<=0) return;
printf("[%03X] ",i);
for (i=0;i<len;) {
- printf("%02X ",(int)buf[i]);
+ printf("%02X ",(int)((unsigned char)buf[i]));
i++;
if (i%8 == 0) printf(" ");
if (i%16 == 0) {