]> git.ipfire.org Git - thirdparty/git.git/blobdiff - test-parse-options.c
test-parse-options: update to handle negative ints
[thirdparty/git.git] / test-parse-options.c
index 5dabce60f363430d3800bdadc77b3617abbcbfb6..7c492cf724fd1c7339ec7bc2789fec48ac4b8892 100644 (file)
@@ -82,7 +82,7 @@ int main(int argc, char **argv)
        argc = parse_options(argc, (const char **)argv, prefix, options, usage, 0);
 
        printf("boolean: %d\n", boolean);
-       printf("integer: %u\n", integer);
+       printf("integer: %d\n", integer);
        printf("timestamp: %lu\n", timestamp);
        printf("string: %s\n", string ? string : "(not set)");
        printf("abbrev: %d\n", abbrev);