From 86c35b23e4191e61af36b499aa4011b53f451b4a Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sun, 28 Jun 2015 18:02:48 -0500 Subject: Make cinematic times be int like CL_ScaledMilliseconds Cinematic's startTime and lastTime are always set from CL_ScaledMilliseconds which returns int and are converted back and forth to int and unsigned int. This fixes a warning that abs() is used on an unsigned int. --- src/client/cl_cin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/cl_cin.c b/src/client/cl_cin.c index 78a237ed..74660ed5 100644 --- a/src/client/cl_cin.c +++ b/src/client/cl_cin.c @@ -95,8 +95,8 @@ typedef struct { qboolean looping, holdAtEnd, dirty, alterGameState, silent, shader; fileHandle_t iFile; e_status status; - unsigned int startTime; - unsigned int lastTime; + int startTime; + int lastTime; long tfps; long RoQPlayed; long ROQSize; -- cgit