From 095c9a544fbad13f1a06a4519e3fc30e3fbd4441 Mon Sep 17 00:00:00 2001 From: Mikko Mononen Date: Tue, 16 Feb 2010 08:49:32 +0000 Subject: [PATCH] Changed null to 0, fix compilation on linux. --- Recast/Source/RecastTimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }