summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-09-19 09:57:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:16 -0500
commitcb9d4c670724d281c5de008ffa43ac30c186d6e7 (patch)
treee5c3e51ad07007c07fbfbb6cfb1ae36a22485780 /source4/lib
parent3d7935e656fe682e1d0545eaaa72428b78a65635 (diff)
downloadsamba-cb9d4c670724d281c5de008ffa43ac30c186d6e7.tar.gz
samba-cb9d4c670724d281c5de008ffa43ac30c186d6e7.tar.bz2
samba-cb9d4c670724d281c5de008ffa43ac30c186d6e7.zip
r10312: fix compiler warning
metze (This used to be commit 3309a0f4d90f01e1f6182b797e2bfe3f8380e59c)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/common/ldb_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_msg.c b/source4/lib/ldb/common/ldb_msg.c
index 2773237b36..1b26d7833b 100644
--- a/source4/lib/ldb/common/ldb_msg.c
+++ b/source4/lib/ldb/common/ldb_msg.c
@@ -206,7 +206,7 @@ int ldb_msg_add_string(struct ldb_context *ldb, struct ldb_message *msg,
{
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);