mirror of
https://github.com/kdlucas/byte-unixbench.git
synced 2026-08-04 03:03:29 +08:00
title[18] -> title[22]
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,
| ~~~~~^~~~~~~~~
```
This commit is contained in:
@@ -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 time, int calibrate, int section)
|
||||||
{
|
{
|
||||||
SPDP mops,mflops;
|
SPDP mops,mflops;
|
||||||
|
|||||||
Reference in New Issue
Block a user