1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Fixed wrong variable name on linux in chrono library.

This commit is contained in:
Sandu Liviu Catalin 2016-03-27 18:43:18 +03:00
parent 0812472ac5
commit e70afea7ad

View File

@ -114,7 +114,7 @@ Uint32 GetTickCount()
{
return 0;
}
return now.tv_sec * 1000.0 + now.tv_nsec / 1000000.0;
return time.tv_sec * 1000.0 + time.tv_nsec / 1000000.0;
}
// ------------------------------------------------------------------------------------------------
@ -125,7 +125,7 @@ Int64 GetTickCount64()
{
return 0;
}
return now.tv_sec * 1000.0 + now.tv_nsec / 1000000.0;
return time.tv_sec * 1000.0 + time.tv_nsec / 1000000.0;
}
#endif // SQMOD_OS_WINDOWS