Minecraft.World (build): Clang compilation fixes

This commit is contained in:
Anaël committed 2026-11-30 07:19:01 +01:00
1 parent c409324bb7
commit ea80182494
17 files changed
+182 -140

No files matched your search

@@ -25,7 +25,7 @@ ConsoleSaveFileInputStream::ConsoleSaveFileInputStream(ConsoleSaveFile *saveFile
//the next byte of data, or -1 if the end of the file is reached.
int ConsoleSaveFileInputStream::read()
{
byte byteRead = 0;
byte byteRead = static_cast<byte>(0);
DWORD numberOfBytesRead;
BOOL result = m_saveFile->readFile(
@@ -46,7 +46,7 @@ int ConsoleSaveFileInputStream::read()
return -1;
}
return byteRead;
return static_cast<int>(byteRead);
}
//Reads up to b.length bytes of data from this input stream into an array of bytes. This method blocks until some input is available.