X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b8ee5dec95988e3931c5394fbeb607e48fb2931..9a6aafe0039fef580ca1bfcf0e87c1ba8e2953ba:/src/common/longlong.cpp?ds=inline 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) {