diff options
Diffstat (limited to 'Minecraft.World/InputStreamReader.cpp')
| -rw-r--r-- | Minecraft.World/InputStreamReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/InputStreamReader.cpp b/Minecraft.World/InputStreamReader.cpp index 972c5316..4a565cf4 100644 --- a/Minecraft.World/InputStreamReader.cpp +++ b/Minecraft.World/InputStreamReader.cpp @@ -39,7 +39,7 @@ int InputStreamReader::read(wchar_t cbuf[], unsigned int offset, unsigned int le unsigned int charsRead = 0; for( unsigned int i = offset; i < offset + length; i++ ) { - wchar_t value = static_cast<wchar_t>(stream->readUTFChar()); + wchar_t value = (wchar_t)stream->readUTFChar(); if( value != -1 ) { cbuf[i] = value; |
