Fixed wrong variable name on linux in chrono library.

This commit is contained in:
Sandu Liviu Catalin committed 2016-03-27 18:43:18 +03:00
1 parent 0812472ac5
commit e70afea7ad
1 file changed
+2 -2
+2 -2
View File
@@ -114,7 +114,7 @@ Uint32 GetTickCount()
{ {
return 0; 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 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 #endif // SQMOD_OS_WINDOWS