mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-17 19:17:11 +02:00
Fixed wrong variable name on linux in chrono library.
This commit is contained in:
1 parent
0812472ac5
commit
e70afea7ad
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user