summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/dbwrap/dbwrap_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_tdb.c b/source3/lib/dbwrap/dbwrap_tdb.c
index fbbe757ca3..798d391b1f 100644
--- a/source3/lib/dbwrap/dbwrap_tdb.c
+++ b/source3/lib/dbwrap/dbwrap_tdb.c
@@ -90,7 +90,7 @@ static int db_tdb_fetchlock_parse(TDB_DATA key, TDB_DATA data,
state->result = result;
result->key.dsize = key.dsize;
- result->key.dptr = ((uint8 *)result) + sizeof(struct db_record);
+ result->key.dptr = ((uint8_t *)result) + sizeof(struct db_record);
memcpy(result->key.dptr, key.dptr, key.dsize);
result->value.dsize = data.dsize;