mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 20:58:07 +03:00
tr2/savegame: fix warning
Some checks failed
Run code linters / Run code linters (push) Has been cancelled
Some checks failed
Run code linters / Run code linters (push) Has been cancelled
This commit is contained in:
parent
7e0b454b77
commit
fc1497f197
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ static bool M_FillInfo(MYFILE *const fp, SAVEGAME_INFO *const info)
|
|||
|
||||
info->counter = extra_header.counter;
|
||||
info->level_num = extra_header.level_num;
|
||||
if (extra_header.title_size >= File_Size(fp)) {
|
||||
if (extra_header.title_size >= (int32_t)File_Size(fp)) {
|
||||
return false;
|
||||
}
|
||||
info->level_title = Memory_Alloc(extra_header.title_size + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue