diff options
Diffstat (limited to 'source/core/text-io.cpp')
| -rw-r--r-- | source/core/text-io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/text-io.cpp b/source/core/text-io.cpp index 7815d7422..ec41b8d7d 100644 --- a/source/core/text-io.cpp +++ b/source/core/text-io.cpp @@ -215,7 +215,7 @@ namespace Slang { #ifdef _WIN32 int flag = IS_TEXT_UNICODE_SIGNATURE | IS_TEXT_UNICODE_REVERSE_SIGNATURE | IS_TEXT_UNICODE_STATISTICS | IS_TEXT_UNICODE_ASCII16; - int rs = IsTextUnicode(buffer.Buffer(), buffer.Count(), &flag); + int rs = IsTextUnicode(buffer.Buffer(), (int) buffer.Count(), &flag); if (rs) { if (flag & (IS_TEXT_UNICODE_SIGNATURE | IS_TEXT_UNICODE_STATISTICS)) |
