Changed null to 0, fix compilation on linux.
This commit is contained in:
parent
e0fe72ebb0
commit
095c9a544f
@ -30,7 +30,7 @@ int rcGetDeltaTimeUsec(rcTimeVal start, rcTimeVal end)
|
||||
rcTimeVal rcGetPerformanceTimer()
|
||||
{
|
||||
timeval now;
|
||||
gettimeofday(&now, NULL);
|
||||
gettimeofday(&now, 0);
|
||||
return (rcTimeVal)now.tv_sec*1000000L + (rcTimeVal)now.tv_usec;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user