From 84527be03f4d728bafe58f1023d8d8d9239c499c Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Debian Linux)" <rob@synchro.net> Date: Thu, 13 Apr 2023 18:47:05 -0700 Subject: [PATCH] Fix new GCC warning in printf format string. --- src/sbbs3/writemsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/writemsg.cpp b/src/sbbs3/writemsg.cpp index 2c271c6bb3..ac9aa1b333 100644 --- a/src/sbbs3/writemsg.cpp +++ b/src/sbbs3/writemsg.cpp @@ -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; } -- GitLab