summaryrefslogtreecommitdiff
path: root/devel/codeblocks/files/patch-src_sdk_wxscintilla_src_ScintillaWX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/codeblocks/files/patch-src_sdk_wxscintilla_src_ScintillaWX.cpp')
-rw-r--r--devel/codeblocks/files/patch-src_sdk_wxscintilla_src_ScintillaWX.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/codeblocks/files/patch-src_sdk_wxscintilla_src_ScintillaWX.cpp b/devel/codeblocks/files/patch-src_sdk_wxscintilla_src_ScintillaWX.cpp
new file mode 100644
index 000000000000..f477e36226c6
--- /dev/null
+++ b/devel/codeblocks/files/patch-src_sdk_wxscintilla_src_ScintillaWX.cpp
@@ -0,0 +1,11 @@
+--- src/sdk/wxscintilla/src/ScintillaWX.cpp.orig 2016-01-23 16:43:01 UTC
++++ src/sdk/wxscintilla/src/ScintillaWX.cpp
+@@ -290,7 +290,7 @@ static int wxCountLines(const char* text
+
+ /* C::B begin */
+ // Constant ids for the timers used by every editor.
+-const int timerIDs[ScintillaWX::timersCount] = { wxNewId(), wxNewId(), wxNewId(), wxNewId() };
++const int timerIDs[ScintillaWX::timersCount] = { static_cast<int>(wxNewId()), static_cast<int>(wxNewId()), static_cast<int>(wxNewId()), static_cast<int>(wxNewId()) };
+ /* C::B end */
+
+ //----------------------------------------------------------------------