mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
Minecraft.World (build): Clang compilation fixes
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user