From 1d44debaec6681f67428679d3e1f8828be34bc89 Mon Sep 17 00:00:00 2001 From: Rong Tao <32674962+Rtoax@users.noreply.github.com> Date: Mon, 18 Apr 2022 19:50:37 +0800 Subject: [PATCH] title[18] -> title[22] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit compile warning: ```c src/whets.c:797:20: warning: argument 1 of type ‘char[18]’ with mismatched bound [-Warray-parameter=] 797 | void pout(char title[18], float ops, int type, SPDP checknum, | ~~~~~^~~~~~~~~ src/whets.c:315:17: note: previously declared as ‘char[22]’ 315 | void pout(char title[22], float ops, int type, SPDP checknum, | ~~~~~^~~~~~~~~ ``` --- UnixBench/src/whets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnixBench/src/whets.c b/UnixBench/src/whets.c index 7829bb7..877e857 100644 --- a/UnixBench/src/whets.c +++ b/UnixBench/src/whets.c @@ -794,7 +794,7 @@ char *argv[]; } - void pout(char title[18], float ops, int type, SPDP checknum, + void pout(char title[22], float ops, int type, SPDP checknum, SPDP time, int calibrate, int section) { SPDP mops,mflops;