diff options
Diffstat (limited to 'tools/msgenc/msgenc.cpp')
-rw-r--r-- | tools/msgenc/msgenc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/msgenc/msgenc.cpp b/tools/msgenc/msgenc.cpp index 314fbce1..9e1876a2 100644 --- a/tools/msgenc/msgenc.cpp +++ b/tools/msgenc/msgenc.cpp @@ -64,7 +64,7 @@ u16string ReadTextFileU16LE(path filename) { throw runtime_error(ss.str()); } if (bom == u'\uFFFE') { - for (int i = 0; i < count; i++) { + for (size_t i = 0; i < count; i++) { buf[i] = (buf[i] << 8) | (buf[i] >> 8); } } |