s4:lsa RPC server - handle LDB flags as "unsigned"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 13 Apr 2011 07:01:42 +0000 (09:01 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 21 May 2011 14:21:14 +0000 (16:21 +0200)
Signed-off-by: Metze
source4/rpc_server/lsa/dcesrv_lsa.c

index b9fe5a3f40130d5125157cc9a2dc11df92165ab1..50ce2346adcc9e22f908ee4eb4163fe596702000 100644 (file)
@@ -1429,7 +1429,7 @@ static NTSTATUS update_uint32_t_value(TALLOC_CTX *mem_ctx,
 {
        const struct ldb_val *orig_val;
        uint32_t orig_uint = 0;
-       int flags = 0;
+       unsigned int flags = 0;
        int ret;
 
        orig_val = ldb_msg_find_ldb_val(orig, attribute);