diff options
author | Neil <nyamatongwe@gmail.com> | 2017-05-02 19:27:38 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-05-02 19:27:38 +1000 |
commit | d2fb467ad88764cece87ddbb650fd6a22a2269f9 (patch) | |
tree | 68b539adff4c61e34206a7fb9c5ca9f4a5851d6d /win32/PlatWin.cxx | |
parent | 9a99d2bd17b2931e95acde30bb7a5f97dce427ce (diff) | |
download | scintilla-mirror-d2fb467ad88764cece87ddbb650fd6a22a2269f9.tar.gz |
More consistent use of size_t when converting Unicode formats.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index ee1d2d71c..631c38ab5 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -481,7 +481,7 @@ public: const int stackBufferLength = 1000; class TextWide : public VarBuffer<wchar_t, stackBufferLength> { public: - int tlen; + int tlen; // Using int instead of size_t as most Win32 APIs take int. TextWide(const char *s, int len, bool unicodeMode, int codePage=0) : VarBuffer<wchar_t, stackBufferLength>(len) { if (unicodeMode) { |