summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-22 18:51:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:30 -0500
commit02515a76137e271d5a42c683bcda6c5a5db3a0db (patch)
tree641e37508145f5bbab40873113704793544f5c41 /source4/lib/ldb
parent1cecad25224a13de3b561ae36b8e530b152c81be (diff)
downloadsamba-02515a76137e271d5a42c683bcda6c5a5db3a0db.tar.gz
samba-02515a76137e271d5a42c683bcda6c5a5db3a0db.tar.bz2
samba-02515a76137e271d5a42c683bcda6c5a5db3a0db.zip
r17714: fix compiler warnings
metze (This used to be commit cea06e105a28e12989cd6fdf6d91d86347b8ffc4)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/common/ldb_msg.c b/source4/lib/ldb/common/ldb_msg.c
index d40dcde010..b42c4fe602 100644
--- a/source4/lib/ldb/common/ldb_msg.c
+++ b/source4/lib/ldb/common/ldb_msg.c
@@ -374,10 +374,10 @@ int ldb_msg_find_attr_as_bool(const struct ldb_message *msg,
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;