mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed warning in Timer.cpp/MSVC. Enabled unicode character set in MSVC release builds.
This commit is contained in:
@@ -109,7 +109,7 @@ namespace sdl
|
||||
QueryPerformanceFrequency(&temp);
|
||||
freq = temp.QuadPart;
|
||||
__int64 secs = ticks/freq;
|
||||
__int64 usecs = (ticks%freq)/(freq/1000000.0f);
|
||||
__int64 usecs = static_cast<__int64>((ticks%freq)/(freq/1000000.0f));
|
||||
return secs%86400 + usecs/1000000.0f;
|
||||
#else
|
||||
timeval t;
|
||||
|
||||
Reference in New Issue
Block a user