summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libexcelformat/files/libexcelformat-101016-Wliteral-suffix.patch')
-rw-r--r--sci-libs/libexcelformat/files/libexcelformat-101016-Wliteral-suffix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/libexcelformat/files/libexcelformat-101016-Wliteral-suffix.patch b/sci-libs/libexcelformat/files/libexcelformat-101016-Wliteral-suffix.patch
new file mode 100644
index 000000000000..9ce8f4a7aa85
--- /dev/null
+++ b/sci-libs/libexcelformat/files/libexcelformat-101016-Wliteral-suffix.patch
@@ -0,0 +1,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;