summaryrefslogtreecommitdiff
path: root/math/gambit/files/patch-src-labenski-src_sheet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/gambit/files/patch-src-labenski-src_sheet.cpp')
-rw-r--r--math/gambit/files/patch-src-labenski-src_sheet.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/gambit/files/patch-src-labenski-src_sheet.cpp b/math/gambit/files/patch-src-labenski-src_sheet.cpp
new file mode 100644
index 000000000000..b3d63f5fca12
--- /dev/null
+++ b/math/gambit/files/patch-src-labenski-src_sheet.cpp
@@ -0,0 +1,14 @@
+--- src/labenski/src/sheet.cpp.orig 2013-06-24 11:57:48.000000000 +0200
++++ src/labenski/src/sheet.cpp 2013-06-24 12:00:50.000000000 +0200
+@@ -7098,9 +7098,9 @@
+ wxPrintf(wxT("COUNT MISMATCH ERROR! \n"));
+
+ for (size_t n = 0; n < wxMin(ans.GetCount(), res.GetCount()); n++)
+- if (ans[n] != res[n]) wxPrintf(wxT("Error in item %u\n"), n);
++ if (ans[n] != res[n]) wxPrintf(wxT("Error in item %zu\n"), n);
+
+- wxPrintf(msg + wxT("\n"));
++ wxPrintf("%s\n", msg.ToAscii());
+ }
+
+ #define CSVT1(str, a1) { wxArrayString ar; ar.Add(wxT(a1)); CSV_TEST(wxT(str), ar, ParseLine(wxT(str))); }