Author: metze Date: 2004-11-25 19:31:53 +0000 (Thu, 25 Nov 2004) New Revision: 3969
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3969 Log: fix compiler warnings metze Modified: branches/SAMBA_4_0/source/ntvfs/common/brlock.c branches/SAMBA_4_0/source/ntvfs/common/opendb.c Changeset: Modified: branches/SAMBA_4_0/source/ntvfs/common/brlock.c =================================================================== --- branches/SAMBA_4_0/source/ntvfs/common/brlock.c 2004-11-25 19:27:17 UTC (rev 3968) +++ branches/SAMBA_4_0/source/ntvfs/common/brlock.c 2004-11-25 19:31:53 UTC (rev 3969) @@ -234,7 +234,7 @@ char *tp; NTSTATUS status; - kbuf.dptr = file_key->data; + kbuf.dptr = (char *)file_key->data; kbuf.dsize = file_key->length; if (tdb_chainlock(brl->w->tdb, kbuf) != 0) { @@ -379,7 +379,7 @@ struct lock_context context; NTSTATUS status; - kbuf.dptr = file_key->data; + kbuf.dptr = (char *)file_key->data; kbuf.dsize = file_key->length; if (tdb_chainlock(brl->w->tdb, kbuf) != 0) { @@ -463,7 +463,7 @@ struct lock_struct *locks; NTSTATUS status; - kbuf.dptr = file_key->data; + kbuf.dptr = (char *)file_key->data; kbuf.dsize = file_key->length; if (tdb_chainlock(brl->w->tdb, kbuf) != 0) { @@ -534,7 +534,7 @@ int count, i; struct lock_struct lock, *locks; - kbuf.dptr = file_key->data; + kbuf.dptr = (char *)file_key->data; kbuf.dsize = file_key->length; dbuf = tdb_fetch(brl->w->tdb, kbuf); @@ -577,7 +577,7 @@ struct lock_struct *locks; NTSTATUS status; - kbuf.dptr = file_key->data; + kbuf.dptr = (char *)file_key->data; kbuf.dsize = file_key->length; if (tdb_chainlock(brl->w->tdb, kbuf) != 0) { Modified: branches/SAMBA_4_0/source/ntvfs/common/opendb.c =================================================================== --- branches/SAMBA_4_0/source/ntvfs/common/opendb.c 2004-11-25 19:27:17 UTC (rev 3968) +++ branches/SAMBA_4_0/source/ntvfs/common/opendb.c 2004-11-25 19:31:53 UTC (rev 3969) @@ -488,7 +488,7 @@ int i, count; struct odb_entry e; - kbuf.dptr = key->data; + kbuf.dptr = (char *)key->data; kbuf.dsize = key->length; dbuf = tdb_fetch(odb->w->tdb, kbuf);
