Skip to content
Snippets Groups Projects
Commit 84527be0 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix new GCC warning in printf format string.

parent 1a2011ec
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4072 passed
...@@ -1283,7 +1283,7 @@ bool sbbs_t::editfile(char *fname, uint maxlines) ...@@ -1283,7 +1283,7 @@ bool sbbs_t::editfile(char *fname, uint maxlines)
close(file); close(file);
free(buf); free(buf);
attr(cfg.color[clr_err]); attr(cfg.color[clr_err]);
bprintf("\7\r\nFile size (%lu bytes) is larger than %lu (maxlines: %lu).\r\n" bprintf("\7\r\nFile size (%lu bytes) is larger than %lu (maxlines: %u).\r\n"
,length, (ulong)maxlines*MAX_LINE_LEN, maxlines); ,length, (ulong)maxlines*MAX_LINE_LEN, maxlines);
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment