initialize SDL_TimerID to 0 instead of NULL

master
lsalzman 2013-04-05 16:17:56 +03:00
parent 3e6145634a
commit f70a9854a2
1 changed files with 1 additions and 1 deletions

View File

@ -1140,7 +1140,7 @@ void genpvs(int *viewcellsize)
numviewcells = 0;
genpvs_canceled = false;
check_genpvs_progress = false;
SDL_TimerID timer = NULL;
SDL_TimerID timer = 0;
int numthreads = pvsthreads > 0 ? pvsthreads : numcpus;
if(numthreads<=1)
{