diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-01-18 17:05:17 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-01-18 17:05:17 +1100 |
commit | 130db062bf53cff39fd2d5ac4d5766dc0a98663e (patch) | |
tree | 5165b525cc3d0927dcd816c9c91b444984bb429a /source4/lib/tdb/tools/tdbtool.c | |
parent | 391f089d71b4b51a130819ab681dcd1253f16b8c (diff) | |
parent | 61a015a786c52008f4471e62750ad93507bce518 (diff) | |
download | samba-130db062bf53cff39fd2d5ac4d5766dc0a98663e.tar.gz samba-130db062bf53cff39fd2d5ac4d5766dc0a98663e.tar.bz2 samba-130db062bf53cff39fd2d5ac4d5766dc0a98663e.zip |
Merge commit 'origin/v4-0-test' into 4-0-local
(This used to be commit 51422414bed28f425197519298c6b04a9f4e2c4e)
Diffstat (limited to 'source4/lib/tdb/tools/tdbtool.c')
-rw-r--r-- | source4/lib/tdb/tools/tdbtool.c | 2 |
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) { |