svn commit: samba r10312 - in branches/SAMBA_4_0/source/lib/ldb/common: .

metze at samba.org metze at samba.org
Mon Sep 19 09:57:40 GMT 2005


Author: metze
Date: 2005-09-19 09:57:39 +0000 (Mon, 19 Sep 2005)
New Revision: 10312

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10312

Log:
fix compiler warning

metze
Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c	2005-09-19 09:27:34 UTC (rev 10311)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c	2005-09-19 09:57:39 UTC (rev 10312)
@@ -206,7 +206,7 @@
 {
 	struct ldb_val val;
 
-	val.data = discard_const_p(char, str);
+	val.data = discard_const_p(uint8_t, str);
 	val.length = strlen(str);
 
 	return ldb_msg_add_value(ldb, msg, attr_name, &val);



More information about the samba-cvs mailing list