mirror of
https://github.com/libAthena/athena.git
synced 2025-12-10 05:57:57 +00:00
* Visual Studio fixes (requires VS2013 at the minimum)
This commit is contained in:
@@ -140,7 +140,7 @@ bool FileReader::readBit()
|
||||
|
||||
if (!m_bitValid)
|
||||
{
|
||||
int size = fread(&m_currentByte, 1, 1, m_fileHandle);
|
||||
size_t size = fread(&m_currentByte, 1, 1, m_fileHandle);
|
||||
if (size != sizeof(atUint8))
|
||||
THROW_IO_EXCEPTION("Error reading from file.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user