summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-02-27 09:57:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:06 -0500
commit6236e5cabc7b08849e43b25203702e82c9a63dea (patch)
tree3afcd3d7b10cffc872d759bd06130e20cf200b6e /source4
parent57ba33c0a403833267d084aa19067c3883f65115 (diff)
downloadsamba-6236e5cabc7b08849e43b25203702e82c9a63dea.tar.gz
samba-6236e5cabc7b08849e43b25203702e82c9a63dea.tar.bz2
samba-6236e5cabc7b08849e43b25203702e82c9a63dea.zip
r13708: fix compiler warnings
metze (This used to be commit 830c42afda70c616ccd32703c6e7c47f38c2271c)
Diffstat (limited to 'source4')
-rw-r--r--source4/ntvfs/common/opendb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c
index af7be199f7..330af47862 100644
--- a/source4/ntvfs/common/opendb.c
+++ b/source4/ntvfs/common/opendb.c
@@ -258,7 +258,7 @@ NTSTATUS odb_open_file(struct odb_lock *lck, void *file_handle,
return NT_STATUS_NO_MEMORY;
}
- dbuf.dptr = (char *)elist;
+ dbuf.dptr = (uint8_t *)elist;
dbuf.dsize = (count+1) * sizeof(struct odb_entry);
memcpy(dbuf.dptr + (count*sizeof(struct odb_entry)),
@@ -307,7 +307,7 @@ NTSTATUS odb_open_file_pending(struct odb_lock *lck, void *private)
return NT_STATUS_NO_MEMORY;
}
- dbuf.dptr = (char *)elist;
+ dbuf.dptr = (uint8_t *)elist;
dbuf.dsize = (count+1) * sizeof(struct odb_entry);
memcpy(dbuf.dptr + (count*sizeof(struct odb_entry)),
@@ -495,7 +495,7 @@ NTSTATUS odb_can_open(struct odb_context *odb, DATA_BLOB *key,
int i, count;
struct odb_entry e;
- kbuf.dptr = (char *)key->data;
+ kbuf.dptr = key->data;
kbuf.dsize = key->length;
dbuf = tdb_fetch(odb->w->tdb, kbuf);