mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +00:00
Use sizeof on var
This commit is contained in:
parent
af3216b7b7
commit
babfc5a86d
@ -11,7 +11,7 @@ MxResult ModelDbModel::Read(FILE* p_file)
|
||||
{
|
||||
MxU32 len;
|
||||
|
||||
if (fread(&len, sizeof(MxU32), 1, p_file) != 1) {
|
||||
if (fread(&len, sizeof(len), 1, p_file) != 1) {
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user