1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

ldb:ldb_sqlite3.c - all LDB flags should be handled as "unsigned"

Signed-off-by: Metze
This commit is contained in:
Matthias Dieter Wallnöfer 2011-04-13 09:05:34 +02:00
parent 3956e6840d
commit 74b50b47e9

View File

@ -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;