diff options
Diffstat (limited to 'source4/lib/ldb/common/ldb_msg.c')
-rw-r--r-- | source4/lib/ldb/common/ldb_msg.c | 4 |
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 055569b0ee..0d5b47f920 100644 --- a/source4/lib/ldb/common/ldb_msg.c +++ b/source4/lib/ldb/common/ldb_msg.c @@ -168,7 +168,7 @@ int ldb_msg_add_value(struct ldb_context *ldb, add a string element to a message */ int ldb_msg_add_string(struct ldb_context *ldb, struct ldb_message *msg, - char *attr_name, char *str) + const char *attr_name, char *str) { struct ldb_val val; @@ -226,7 +226,7 @@ int ldb_msg_find_int(const struct ldb_message *msg, unsigned int ldb_msg_find_uint(const struct ldb_message *msg, const char *attr_name, - int default_value) + unsigned int default_value) { const struct ldb_val *v = ldb_msg_find_ldb_val(msg, attr_name); if (!v || !v->data) { |