From cb9d4c670724d281c5de008ffa43ac30c186d6e7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 19 Sep 2005 09:57:39 +0000 Subject: r10312: fix compiler warning metze (This used to be commit 3309a0f4d90f01e1f6182b797e2bfe3f8380e59c) --- source4/lib/ldb/common/ldb_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb') 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); -- cgit