srv_winreg: Align integer types
authorVolker Lendecke <vl@samba.org>
Sat, 27 Mar 2021 15:42:29 +0000 (16:42 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 1 Apr 2021 19:32:36 +0000 (19:32 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_server/winreg/srv_winreg_nt.c

index fff2a74c80200abd61260dfa8e39295ebe196084..002db07ef4dda15e582208a9d96e3bd4bb63e4a8 100644 (file)
@@ -1017,7 +1017,7 @@ WERROR _winreg_QueryMultipleValues2(struct pipes_struct *p,
        const char **names = NULL;
        uint32_t offset = 0, num_vals = 0;
        DATA_BLOB result = data_blob_null;
-       int i = 0;
+       uint32_t i = 0;
        WERROR err = WERR_OK;
 
        if (!regkey) {