summaryrefslogtreecommitdiff
path: root/sci-libs/libexcelformat/files/libexcelformat-101016-Wliteral-suffix.patch
blob: 9ce8f4a7aa858fa0888ed6aff01c952d5ceefe5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fix -Wliteral-suffix (#731886)

--- a/BasicExcel.cpp
+++ b/BasicExcel.cpp
@@ -4913,7 +4913,7 @@
 	do
 	{
 		char sname[50];
-		sprintf(sname, "Sheet"FMT_SIZE_T, sheetNo++);
+		sprintf(sname, "Sheet" FMT_SIZE_T, sheetNo++);
 		yesheet = AddWorksheet(sname, sheetIndex);
 	} while (!yesheet);
 	return yesheet;