- fixed the code to compile on win32

This commit is contained in:
Mikko Mononen
2010-09-10 06:53:33 +00:00
parent 581b02bdbb
commit 7ee6e96e5a
9 changed files with 60 additions and 23 deletions

View File

@@ -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