summaryrefslogtreecommitdiff
path: root/source3/tdb/common/traverse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/common/traverse.c')
-rw-r--r--source3/tdb/common/traverse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/common/traverse.c b/source3/tdb/common/traverse.c
index 6d3b111479..fb2371d403 100644
--- a/source3/tdb/common/traverse.c
+++ b/source3/tdb/common/traverse.c
@@ -279,7 +279,7 @@ TDB_DATA tdb_nextkey(struct tdb_context *tdb, TDB_DATA oldkey)
u32 oldhash;
TDB_DATA key = tdb_null;
struct list_struct rec;
- char *k = NULL;
+ unsigned char *k = NULL;
/* Is locked key the old key? If so, traverse will be reliable. */
if (tdb->travlocks.off) {