aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/InputStreamReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/InputStreamReader.cpp')
-rw-r--r--Minecraft.World/InputStreamReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/InputStreamReader.cpp b/Minecraft.World/InputStreamReader.cpp
index 4a565cf4..972c5316 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 = (wchar_t)stream->readUTFChar();
+ wchar_t value = static_cast<wchar_t>(stream->readUTFChar());
if( value != -1 )
{
cbuf[i] = value;