mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-25 23:07:07 +00:00
You shall fix ze bugs you shall ve happy
This commit is contained in:
@@ -35,7 +35,7 @@ int ByteArrayInputStream::read()
|
||||
if( pos >= count )
|
||||
return -1;
|
||||
else
|
||||
return buf[pos++];
|
||||
return static_cast<unsigned int>(buf[pos++]);
|
||||
}
|
||||
|
||||
//Reads some number of bytes from the input stream and stores them into the buffer array b.
|
||||
@@ -115,4 +115,4 @@ __int64 ByteArrayInputStream::skip(__int64 n)
|
||||
ByteArrayInputStream::~ByteArrayInputStream()
|
||||
{
|
||||
if(buf.data != NULL) delete [] buf.data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user