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

metze at samba.org metze at samba.org
Tue Aug 22 18:51:46 GMT 2006


Author: metze
Date: 2006-08-22 18:51:46 +0000 (Tue, 22 Aug 2006)
New Revision: 17714

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

Log:
fix compiler warnings

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	2006-08-22 18:50:03 UTC (rev 17713)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c	2006-08-22 18:51:46 UTC (rev 17714)
@@ -374,10 +374,10 @@
 	if (!v || !v->data) {
 		return default_value;
 	}
-	if (strcasecmp(v->data, "FALSE") == 0) {
+	if (strcasecmp((const char *)v->data, "FALSE") == 0) {
 		return 0;
 	}
-	if (strcasecmp(v->data, "TRUE") == 0) {
+	if (strcasecmp((const char *)v->data, "TRUE") == 0) {
 		return 1;
 	}
 	return default_value;



More information about the samba-cvs mailing list