mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-19 22:35:59 +00:00
Changed null to 0, fix compilation on linux.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user