diff options
Diffstat (limited to 'src/scintilla_backports/6124_4527b3c217a4.patch')
-rw-r--r-- | src/scintilla_backports/6124_4527b3c217a4.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/scintilla_backports/6124_4527b3c217a4.patch b/src/scintilla_backports/6124_4527b3c217a4.patch deleted file mode 100644 index f439b37e..00000000 --- a/src/scintilla_backports/6124_4527b3c217a4.patch +++ /dev/null @@ -1,43 +0,0 @@ -# HG changeset patch -# User Neil <nyamatongwe@gmail.com> -# Date 1488955608 -39600 -# Node ID 4527b3c217a44e45e4714c2a302f124df7109b2f -# Parent 0fd4b41bcec612df9a3e8204399d0acde55194ce -Fix warnings from Visual Studio 2017. - -diff -r 0fd4b41bcec6 -r 4527b3c217a4 src/PositionCache.cxx ---- a/src/PositionCache.cxx Wed Mar 08 16:36:39 2017 +1100 -+++ b/src/PositionCache.cxx Wed Mar 08 17:46:48 2017 +1100 -@@ -392,7 +392,7 @@ - } - - SpecialRepresentations::SpecialRepresentations() { -- std::fill(startByteHasReprs, startByteHasReprs+0x100, 0); -+ std::fill(startByteHasReprs, startByteHasReprs+0x100, static_cast<short>(0)); - } - - void SpecialRepresentations::SetRepresentation(const char *charBytes, const char *value) { -@@ -433,7 +433,7 @@ - - void SpecialRepresentations::Clear() { - mapReprs.clear(); -- std::fill(startByteHasReprs, startByteHasReprs+0x100, 0); -+ std::fill(startByteHasReprs, startByteHasReprs+0x100, static_cast<short>(0)); - } - - void BreakFinder::Insert(int val) { -diff -r 0fd4b41bcec6 -r 4527b3c217a4 src/RESearch.cxx ---- a/src/RESearch.cxx Wed Mar 08 16:36:39 2017 +1100 -+++ b/src/RESearch.cxx Wed Mar 08 17:46:48 2017 +1100 -@@ -256,9 +256,9 @@ - charClass = charClassTable; - sta = NOP; /* status of lastpat */ - bol = 0; -- std::fill(bittab, bittab + BITBLK, 0); -+ std::fill(bittab, bittab + BITBLK, static_cast<unsigned char>(0)); - std::fill(tagstk, tagstk + MAXTAG, 0); -- std::fill(nfa, nfa + MAXNFA, 0); -+ std::fill(nfa, nfa + MAXNFA, '\0'); - Clear(); - } - |