From ae551ee1062ab7a4195146b667d7d5a67ca97370 Mon Sep 17 00:00:00 2001 From: dhewg Date: Wed, 21 Dec 2011 13:08:44 +0100 Subject: [PATCH] Port Sys_Milliseconds() to SDL Sync with SDL and use unsigned int as return type. Code outside of sys/ still uses signed ints to store the result. --- sys/sys_public.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys_public.h b/sys/sys_public.h index 9a88355..7099bb0 100644 --- a/sys/sys_public.h +++ b/sys/sys_public.h @@ -149,7 +149,7 @@ void Sys_Sleep( int msec ); // Sys_Milliseconds should only be used for profiling purposes, // any game related timing information should come from event timestamps -int Sys_Milliseconds( void ); +unsigned int Sys_Milliseconds( void ); // for accurate performance testing double Sys_GetClockTicks( void );