mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-08 08:42:31 +00:00
Explicit cast
This commit is contained in:
parent
32fe0ba21f
commit
fc679896f5
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ SCR_ReadNextFrame(void) {
|
||||||
FS_Read(&size, 4, (size_t)cl.cinematic_file);
|
FS_Read(&size, 4, (size_t)cl.cinematic_file);
|
||||||
size = LittleLong(size);
|
size = LittleLong(size);
|
||||||
|
|
||||||
if (size > sizeof(compressed) || size < 1)
|
if ((unsigned long)size > sizeof(compressed) || size < 1)
|
||||||
Com_Error(ERR_DROP, "Bad compressed frame size");
|
Com_Error(ERR_DROP, "Bad compressed frame size");
|
||||||
|
|
||||||
FS_Read(compressed, size, (size_t)cl.cinematic_file);
|
FS_Read(compressed, size, (size_t)cl.cinematic_file);
|
||||||
|
|
Loading…
Reference in a new issue