Fixed warning in Timer.cpp/MSVC. Enabled unicode character set in MSVC release builds.

This commit is contained in:
rude
2009-11-23 18:09:28 +01:00
parent 3f70006283
commit 80a6e6dcaf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;