ports/devel/codeblocks/files/patch-src_sdk_wxscintilla_src_ScintillaWX.cpp
Kurt Jaeger 5d3da8cf47 devel/codeblocks: 13.12 -> 16.01
- Changes:
  http://www.codeblocks.org/downloads/binaries/changelog
- submitter re-takes maintainer

PR:		209377
Submitted by:	lbartoletti@tuxfamily.org
2016-05-08 17:41:52 +00:00

11 lines
608 B
C++

--- 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 */
//----------------------------------------------------------------------