X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b8ee5dec95988e3931c5394fbeb607e48fb2931..5e05df3c7ff33db7eab01f5012ab218ac2843cea:/src/common/longlong.cpp

diff --git a/src/common/longlong.cpp b/src/common/longlong.cpp
index e951865bff..85591bb67c 100644
--- a/src/common/longlong.cpp
+++ b/src/common/longlong.cpp
@@ -1263,7 +1263,7 @@ WXDLLIMPEXP_BASE wxTextOutputStream& operator<< (wxTextOutputStream& o, const wx
     return o << ll.ToString();
 }
 
-#define READ_STRING_CHAR(s, idx, len) ((wxChar) ((idx!=len) ? s[idx++] : 0))
+#define READ_STRING_CHAR(s, idx, len) ((idx!=len) ? (wxChar)s[idx++] : _T('\0'))
 
 WXDLLIMPEXP_BASE class wxTextInputStream &operator>>(class wxTextInputStream &o, wxULongLong &ll)
 {