diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-02-27 01:03:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:06 -0500 |
commit | 04cf19bd597df38c391e236bfe95f5df7138cdef (patch) | |
tree | bc3f1a408ddb72481b6457284a5bdc023ffebd30 | |
parent | 57d5f19b3f032dfcecde9883651c6df8b18a8b58 (diff) | |
download | samba-04cf19bd597df38c391e236bfe95f5df7138cdef.tar.gz samba-04cf19bd597df38c391e236bfe95f5df7138cdef.tar.bz2 samba-04cf19bd597df38c391e236bfe95f5df7138cdef.zip |
r13701: removed some unnecessary casts
(This used to be commit f7d0ac936380102e087d4b7c336d7feb68b62314)
-rw-r--r-- | source4/ntvfs/common/brlock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/ntvfs/common/brlock.c b/source4/ntvfs/common/brlock.c index 6548a2c199..ddbab257bc 100644 --- a/source4/ntvfs/common/brlock.c +++ b/source4/ntvfs/common/brlock.c @@ -238,7 +238,7 @@ NTSTATUS brl_lock(struct brl_context *brl, struct lock_struct lock, *locks=NULL; NTSTATUS status; - kbuf.dptr = (uint8_t *)file_key->data; + kbuf.dptr = file_key->data; kbuf.dsize = file_key->length; if (tdb_chainlock(brl->w->tdb, kbuf) != 0) { @@ -383,7 +383,7 @@ NTSTATUS brl_unlock(struct brl_context *brl, struct lock_context context; NTSTATUS status; - kbuf.dptr = (uint8_t *)file_key->data; + kbuf.dptr = file_key->data; kbuf.dsize = file_key->length; if (tdb_chainlock(brl->w->tdb, kbuf) != 0) { @@ -467,7 +467,7 @@ NTSTATUS brl_remove_pending(struct brl_context *brl, struct lock_struct *locks; NTSTATUS status; - kbuf.dptr = (char *)file_key->data; + kbuf.dptr = file_key->data; kbuf.dsize = file_key->length; if (tdb_chainlock(brl->w->tdb, kbuf) != 0) { @@ -538,7 +538,7 @@ NTSTATUS brl_locktest(struct brl_context *brl, int count, i; struct lock_struct lock, *locks; - kbuf.dptr = (char *)file_key->data; + kbuf.dptr = file_key->data; kbuf.dsize = file_key->length; dbuf = tdb_fetch(brl->w->tdb, kbuf); @@ -581,7 +581,7 @@ NTSTATUS brl_close(struct brl_context *brl, struct lock_struct *locks; NTSTATUS status; - kbuf.dptr = (char *)file_key->data; + kbuf.dptr = file_key->data; kbuf.dsize = file_key->length; if (tdb_chainlock(brl->w->tdb, kbuf) != 0) { |