summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-03 15:59:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:25 -0500
commit4309727424a0a27bbf5372789bc8644b96a28ba9 (patch)
tree3a1fe650f299d87d793c1c69dc404225a280c02b /source4/lib/tdb
parente071ecd9917e6d5e57a949d9aa64b35b445283f5 (diff)
downloadsamba-4309727424a0a27bbf5372789bc8644b96a28ba9.tar.gz
samba-4309727424a0a27bbf5372789bc8644b96a28ba9.tar.bz2
samba-4309727424a0a27bbf5372789bc8644b96a28ba9.zip
r990: fix tdb standalone build
metze (This used to be commit 4c1c9f59ccea8b6cd7edf3bad8acb9cd8c772670)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/tools/tdbtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/tdb/tools/tdbtool.c b/source4/lib/tdb/tools/tdbtool.c
index 65bbedf709..92009dcef4 100644
--- a/source4/lib/tdb/tools/tdbtool.c
+++ b/source4/lib/tdb/tools/tdbtool.c
@@ -63,7 +63,7 @@ static TDB_CONTEXT *tdb;
static int print_rec(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
-static void print_asc(uint8_t *buf,int len)
+static void print_asc(unsigned char *buf,int len)
{
int i;
@@ -77,7 +77,7 @@ static void print_asc(uint8_t *buf,int len)
printf("%c",isprint(buf[i])?buf[i]:'.');
}
-static void print_data(uint8_t *buf,int len)
+static void print_data(unsigned char *buf,int len)
{
int i=0;
if (len<=0) return;