fix(solution): HOLY SHIT IT'S COMPILING

This commit is contained in:
Mohamed Ashraf
2026-03-02 09:38:48 +04:00
parent 401d8fec96
commit 96e219ee1e
13 changed files with 46 additions and 32 deletions

View File

@@ -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<std::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.