s4:lsa RPC server - handle LDB flags as "unsigned"
[ira/wip.git] / 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);