]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Align an integer type
authorVolker Lendecke <vl@samba.org>
Mon, 17 Jun 2024 10:45:32 +0000 (12:45 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 24 Jun 2024 16:21:32 +0000 (16:21 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/util.c

index 29b5874d4286f1571b557b2956d03fd0cefee0b1..0deda2394f431c75197c45dcc5f99451263355e2 100644 (file)
@@ -1070,7 +1070,7 @@ const char *get_remote_arch_str(void)
 
 enum remote_arch_types get_remote_arch_from_str(const char *remote_arch_string)
 {
-       int i;
+       size_t i;
 
        for (i = 0; i < ARRAY_SIZE(remote_arch_strings); i++) {
                if (strcmp(remote_arch_string, remote_arch_strings[i]) == 0) {