diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-04-13 09:05:34 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-05-21 16:21:13 +0200 |
commit | 74b50b47e962ae7a7e90b054f4bab7527397b7de (patch) | |
tree | fb8488bf6caea74cce6edb5f6d9b1fb56908b81e | |
parent | 3956e6840d1619519bf9848574baf60efa926b42 (diff) | |
download | samba-74b50b47e962ae7a7e90b054f4bab7527397b7de.tar.gz samba-74b50b47e962ae7a7e90b054f4bab7527397b7de.tar.bz2 samba-74b50b47e962ae7a7e90b054f4bab7527397b7de.zip |
ldb:ldb_sqlite3.c - all LDB flags should be handled as "unsigned"
Signed-off-by: Metze
-rw-r--r-- | source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c index e5b43fd0c9..223868a6c0 100644 --- a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c +++ b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c @@ -1136,7 +1136,7 @@ static int lsql_modify(struct lsql_context *ctx) for (i = 0; i < msg->num_elements; i++) { const struct ldb_message_element *el = &msg->elements[i]; const struct ldb_schema_attribute *a; - int flags = el->flags & LDB_FLAG_MOD_MASK; + unsigned int flags = el->flags & LDB_FLAG_MOD_MASK; char *attr; char *mod; unsigned int j; @@ -1596,7 +1596,8 @@ static const struct ldb_module_ops lsqlite3_ops = { */ static int initialize(struct lsqlite3_private *lsqlite3, - struct ldb_context *ldb, const char *url, int flags) + struct ldb_context *ldb, const char *url, + unsigned int flags) { TALLOC_CTX *local_ctx; long long queryInt; |