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
@@ -1,6 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "InputOutputStream.h"
|
||||
#include <cstdint>
|
||||
|
||||
// Creates ByteArrayInputStream that uses buf as its buffer array. The initial value of pos is offset and
|
||||
// the initial value of count is the minimum of offset+length and buf.length. The buffer array is not copied.
|
||||
@@ -50,7 +51,7 @@ int ByteArrayInputStream::read()
|
||||
}
|
||||
else
|
||||
{
|
||||
return buf[pos++];
|
||||
return static_cast<int>(buf[pos++]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +119,7 @@ void ByteArrayInputStream::close()
|
||||
// n - the number of bytes to be skipped.
|
||||
// Returns:
|
||||
// the actual number of bytes skipped.
|
||||
__int64 ByteArrayInputStream::skip(__int64 n)
|
||||
int64_t ByteArrayInputStream::skip(int64_t n)
|
||||
{
|
||||
int newPos = pos + n;
|
||||
|
||||
|
||||
Reference in new issue
Block a user