mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-10 10:49:42 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -55,12 +55,12 @@ FileInputStream::~FileInputStream()
|
||||
CloseHandle( m_fileHandle );
|
||||
}
|
||||
|
||||
//Reads a byte of data from this input stream. This method blocks if no input is yet available.
|
||||
//Reads a BYTE of data from this input stream. This method blocks if no input is yet available.
|
||||
//Returns:
|
||||
//the next byte of data, or -1 if the end of the file is reached.
|
||||
//the next BYTE of data, or -1 if the end of the file is reached.
|
||||
int FileInputStream::read()
|
||||
{
|
||||
byte byteRead = 0;
|
||||
BYTE byteRead = 0;
|
||||
DWORD numberOfBytesRead;
|
||||
|
||||
BOOL bSuccess = ReadFile(
|
||||
|
||||
Reference in New Issue
Block a user