diff options
author | kettenis <> | 2017-04-16 14:40:47 +0000 |
---|---|---|
committer | kettenis <> | 2017-04-16 14:40:47 +0000 |
commit | 093c3e8ed8b4d97e56d6f66c4c6c48f1b1928207 (patch) | |
tree | 64acf8f8396a359256e9d31f61e4c8c93587c0e0 | |
parent | 714a2a3cda043f6d86ffbc103258e94dd963fe97 (diff) | |
download | openbsd-093c3e8ed8b4d97e56d6f66c4c6c48f1b1928207.tar.gz openbsd-093c3e8ed8b4d97e56d6f66c4c6c48f1b1928207.tar.bz2 openbsd-093c3e8ed8b4d97e56d6f66c4c6c48f1b1928207.zip |
Use %zu to print a size_t.
-rw-r--r-- | src/regress/usr.bin/openssl/options/optionstest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/usr.bin/openssl/options/optionstest.c b/src/regress/usr.bin/openssl/options/optionstest.c index fe66a2d711..17c2e1af78 100644 --- a/src/regress/usr.bin/openssl/options/optionstest.c +++ b/src/regress/usr.bin/openssl/options/optionstest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: optionstest.c,v 1.8 2015/01/22 05:48:00 doug Exp $ */ | 1 | /* $OpenBSD: optionstest.c,v 1.9 2017/04/16 14:40:47 kettenis Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -371,7 +371,7 @@ main(int argc, char **argv) | |||
371 | size_t i; | 371 | size_t i; |
372 | 372 | ||
373 | for (i = 0; i < N_OPTIONS_TESTS; i++) { | 373 | for (i = 0; i < N_OPTIONS_TESTS; i++) { |
374 | printf("Test %d%s\n", (i + 1), options_tests[i].want == 0 ? | 374 | printf("Test %zu%s\n", (i + 1), options_tests[i].want == 0 ? |
375 | "" : " is expected to complain"); | 375 | "" : " is expected to complain"); |
376 | failed += do_options_test(i + 1, &options_tests[i]); | 376 | failed += do_options_test(i + 1, &options_tests[i]); |
377 | } | 377 | } |