]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
dsdb: Align an integer type
authorVolker Lendecke <vl@samba.org>
Sun, 29 Dec 2024 10:57:00 +0000 (11:57 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 23 Jan 2025 23:08:38 +0000 (23:08 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/dsdb/samdb/ldb_modules/password_hash.c

index c028e72bea4a296d3becadf62720d18df13dc372..ee4aae6d10a336c80fd173271ace567d7ae830a1 100644 (file)
@@ -1554,7 +1554,7 @@ static bool parse_scheme(const char *scheme, int *algorithm, int *rounds) {
 
        const char *rp = NULL; /* Pointer to the 'rounds=' option */
        char digits[21];       /* digits extracted from the rounds option */
-       int i = 0;             /* loop index variable */
+       size_t i = 0;          /* loop index variable */
 
        if (strncasecmp(SHA_256_SCHEME, scheme, strlen(SHA_256_SCHEME)) == 0) {
                *algorithm = SHA_256_ALGORITHM_ID;