From d2fb467ad88764cece87ddbb650fd6a22a2269f9 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 2 May 2017 19:27:38 +1000 Subject: More consistent use of size_t when converting Unicode formats. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/PlatWin.cxx') 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 { 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(len) { if (unicodeMode) { -- cgit v1.2.3