diff --git a/Recast/Source/RecastTimer.cpp b/Recast/Source/RecastTimer.cpp index f67e8d3..b792b82 100644 --- a/Recast/Source/RecastTimer.cpp +++ b/Recast/Source/RecastTimer.cpp @@ -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; }