Changed null to 0, fix compilation on linux.

This commit is contained in:
Mikko Mononen 2010-02-16 08:49:32 +00:00
parent e0fe72ebb0
commit 095c9a544f

View File

@ -30,7 +30,7 @@ int rcGetDeltaTimeUsec(rcTimeVal start, rcTimeVal end)
rcTimeVal rcGetPerformanceTimer() rcTimeVal rcGetPerformanceTimer()
{ {
timeval now; timeval now;
gettimeofday(&now, NULL); gettimeofday(&now, 0);
return (rcTimeVal)now.tv_sec*1000000L + (rcTimeVal)now.tv_usec; return (rcTimeVal)now.tv_sec*1000000L + (rcTimeVal)now.tv_usec;
} }