Closed Rtoax closed 1 year ago
compile warning:
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, | ~~~~~^~~~~~~~~
gcc version: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
Thank you.
FYI: I pushed a subsequent commit to change title[22] -> title[18] to match the length of existing strings passed to the function.
compile warning:
gcc version:
gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)