diff options
Diffstat (limited to 'common/ustr.cpp')
-rw-r--r-- | common/ustr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ustr.cpp b/common/ustr.cpp index 7f68f8a37a..8e41299e52 100644 --- a/common/ustr.cpp +++ b/common/ustr.cpp @@ -207,7 +207,7 @@ bool U32String::equals(const String &x) const { return false; for (size_t idx = 0; idx < _size; ++idx) - if (_str[idx] != x[idx]) + if (_str[idx] != (value_type)x[idx]) return false; return true; |