aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-03-12 17:15:24 +1100
committerNeil <nyamatongwe@gmail.com>2015-03-12 17:15:24 +1100
commite6b7e27786411953f2d6c9c34a9a9f4c9ce5711d (patch)
tree0fb0e9ba9a5aeaa88a332fd7c7eb5de09ac7bf52
parent3fe3841a78ad868642acb08ed64cbaedf84283e1 (diff)
downloadscintilla-mirror-e6b7e27786411953f2d6c9c34a9a9f4c9ce5711d.tar.gz
Reduce size of buffers allocated on stack to avoid warnings from Visual Studio
analyze.
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 853473e11..3fdfc6065 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -479,7 +479,7 @@ public:
}
};
-const int stackBufferLength = 10000;
+const int stackBufferLength = 1000;
class TextWide : public VarBuffer<wchar_t, stackBufferLength> {
public:
int tlen;