svn commit: samba r13708 - in
branches/SAMBA_4_0/source/ntvfs/common: .
metze at samba.org
metze at samba.org
Mon Feb 27 09:57:14 GMT 2006
Author: metze
Date: 2006-02-27 09:57:14 +0000 (Mon, 27 Feb 2006)
New Revision: 13708
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13708
Log:
fix compiler warnings
metze
Modified:
branches/SAMBA_4_0/source/ntvfs/common/opendb.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/common/opendb.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/common/opendb.c 2006-02-27 03:23:28 UTC (rev 13707)
+++ branches/SAMBA_4_0/source/ntvfs/common/opendb.c 2006-02-27 09:57:14 UTC (rev 13708)
@@ -258,7 +258,7 @@
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 @@
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 @@
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);
More information about the samba-cvs
mailing list