Merge pull request #113 from MathiewMay/dev

Fixed typo in my System::currentTimeMillis fix
This commit is contained in:
Tropical 2026-03-09 00:57:06 -05:00 committed by GitHub
commit 8d0d544942
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@ __int64 System::currentTimeMillis()
gettimeofday(&tv, NULL);
// Convert to milliseconds since unix epoch instead of windows file time
// time is expecting calculation to be between 10-30 ms.
return (int64_t)tv.tv_sec * 1000LL + tv.tv_sec / 1000;
return (int64_t)tv.tv_sec * 1000LL + tv.tv_usec / 1000;
#else
SYSTEMTIME UTCSysTime;