mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-29 05:26:12 +00:00
- fixed the code to compile on win32
This commit is contained in:
@@ -68,7 +68,7 @@ void BuildContext::doStartTimer(const rcTimerLabel label)
|
||||
void BuildContext::doStopTimer(const rcTimerLabel label)
|
||||
{
|
||||
const TimeVal endTime = getPerfTime();
|
||||
const int deltaTime = endTime - m_startTime[label];
|
||||
const int deltaTime = (int)(endTime - m_startTime[label]);
|
||||
if (m_accTime[label] == -1)
|
||||
m_accTime[label] = deltaTime;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user