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
Branches
Tags
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)
close(file);
free(buf);
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);
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment