Fixed error reports of failure in cppcheck 2.14.0

This commit is contained in:
Takeshi Nakatani
2024-05-27 14:31:28 +00:00
committed by Andrew Gaul
parent 5c1932f702
commit 2c532e8b79
6 changed files with 10 additions and 9 deletions

View File

@ -31,7 +31,7 @@
// This program truncates the file and reads the file in another process
// between truncate and flush(close file).
//
int main(int argc, char *argv[])
int main(int argc, const char *argv[])
{
if(argc != 3){
fprintf(stderr, "[ERROR] Wrong paraemters\n");