From: kettenis Date: Sun, 16 Apr 2017 14:40:47 +0000 (+0000) Subject: Use %zu to print a size_t. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e4ba687df1aa5ad979549161b254b79fc024d7e2;p=openbsd Use %zu to print a size_t. --- diff --git a/regress/usr.bin/openssl/options/optionstest.c b/regress/usr.bin/openssl/options/optionstest.c index fe66a2d711f..17c2e1af780 100644 --- a/regress/usr.bin/openssl/options/optionstest.c +++ b/regress/usr.bin/openssl/options/optionstest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: optionstest.c,v 1.8 2015/01/22 05:48:00 doug Exp $ */ +/* $OpenBSD: optionstest.c,v 1.9 2017/04/16 14:40:47 kettenis Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -371,7 +371,7 @@ main(int argc, char **argv) size_t i; for (i = 0; i < N_OPTIONS_TESTS; i++) { - printf("Test %d%s\n", (i + 1), options_tests[i].want == 0 ? + printf("Test %zu%s\n", (i + 1), options_tests[i].want == 0 ? "" : " is expected to complain"); failed += do_options_test(i + 1, &options_tests[i]); }