Replaced uint64_t by __int64 for better support on windows

This commit is contained in:
Stefan Radomski 2013-08-17 18:21:31 +02:00
parent becf80444c
commit 71e0fb8621

View file

@ -130,7 +130,7 @@ class EventImpl : virtual public Arabica::DOM::Events::Event_impl<stringT, strin
#ifdef _WIN32
FILETIME tv;
GetSystemTimeAsFileTime(&tv);
time = (((uint64_t) tv.dwHighDateTime) << 32) + tv.dwLowDateTime;
time = (((__int64) tv.dwHighDateTime) << 32) + tv.dwLowDateTime;
time /= 10000;
#else
struct timeval tv;