*Core: msecs issue fixed

git-svn-id: svn://ultimatepp.org/upp/trunk@4790 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-04-16 03:41:09 +00:00
parent b4194acc04
commit c079e7f823

View file

@ -126,10 +126,10 @@ dword GetTickCount() {
return (dword)tv->tv_sec * 1000 + tv->tv_usec / 1000;
}
int msecs(int from) { return int((GetTickCount() - (dword)from) & 0x7fffffff); }
#endif
int msecs(int from) { return int((GetTickCount() - (dword)from) & 0x7fffffff); }
void TimeStop::Reset()
{
starttime = GetTickCount();