You shall fix ze bugs you shall ve happy

This commit is contained in:
Mohamed Ashraf
2026-03-02 16:30:43 +04:00
parent 0803f67f47
commit 3ece2a588d
8 changed files with 97 additions and 21 deletions

View File

@@ -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;
}
}