]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-var-expand: Fix getopt() return type
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 16 Jan 2025 11:12:26 +0000 (13:12 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 17 Jan 2025 08:40:02 +0000 (10:40 +0200)
src/lib-var-expand/test-var-expand.c

index 138d253aa29383dbe2eda9177110b0901cab60d9..c31696fe6897cae20984c388d9b29ef628d0f070 100644 (file)
@@ -1203,7 +1203,7 @@ int main(int argc, char *const argv[])
                NULL
        };
 
-       char opt;
+       int opt;
        while ((opt = getopt(argc, argv, "b")) != -1) {
                if (opt == 'b')
                        do_bench = TRUE;