summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-11 21:54:46 +0200
committerMichael Adam <obnox@samba.org>2012-05-13 22:41:49 +0200
commitdb7a8bf43c5732a59394ffb13bf057d2fdaf5b7d (patch)
tree38fb38ef12c8951793af17d500be7480bb638576 /source3/lib
parent746548401fa53232b497439157f84c62ad00a575 (diff)
downloadsamba-db7a8bf43c5732a59394ffb13bf057d2fdaf5b7d.tar.gz
samba-db7a8bf43c5732a59394ffb13bf057d2fdaf5b7d.tar.bz2
samba-db7a8bf43c5732a59394ffb13bf057d2fdaf5b7d.zip
s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_rbt.c
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/dbwrap/dbwrap_rbt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/dbwrap/dbwrap_rbt.c b/source3/lib/dbwrap/dbwrap_rbt.c
index 0d0fb02c9c..c25ea6ec64 100644
--- a/source3/lib/dbwrap/dbwrap_rbt.c
+++ b/source3/lib/dbwrap/dbwrap_rbt.c
@@ -84,7 +84,7 @@ static int db_rbt_compare(TDB_DATA a, TDB_DATA b)
static void db_rbt_parse_node(struct db_rbt_node *node,
TDB_DATA *key, TDB_DATA *value)
{
- key->dptr = ((uint8 *)node) + offsetof(struct db_rbt_node, data);
+ key->dptr = ((uint8_t *)node) + offsetof(struct db_rbt_node, data);
key->dsize = node->keysize;
value->dptr = key->dptr + node->keysize;
value->dsize = node->valuesize;
@@ -303,7 +303,7 @@ static struct db_record *db_rbt_fetch_locked(struct db_context *db_ctx,
result->key = res.key;
}
else {
- result->key.dptr = (uint8 *)
+ result->key.dptr = (uint8_t *)
((char *)rec_priv + sizeof(*rec_priv));
result->key.dsize = key.dsize;
memcpy(result->key.dptr, key.dptr, key.dsize);