From 0aa75f87044392a7e4a977ee812ace1920a81474 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Sat, 2 Jun 2012 09:07:20 +0200 Subject: [PATCH] Explicit cast --- src/client/cl_cin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/cl_cin.c b/src/client/cl_cin.c index 0c504246..93a891e4 100644 --- a/src/client/cl_cin.c +++ b/src/client/cl_cin.c @@ -338,7 +338,7 @@ SCR_ReadNextFrame(void) { FS_Read(&size, 4, (size_t)cl.cinematic_file); 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"); FS_Read(compressed, size, (size_t)cl.cinematic_file);