Added a missing cast.

This commit is contained in:
unknown 2008-02-18 18:29:07 +02:00
parent 641bc9a45f
commit 0baa5b64c3

View file

@ -157,7 +157,7 @@ ulonglong my_micro_time_and_time(time_t *time_arg)
#if defined(__WIN__)
ulonglong newtime;
GetSystemTimeAsFileTime((FILETIME*)&newtime);
*time_arg= (newtime-OFFSET_TO_EPOCH)/10000000;
*time_arg= (time_t) (newtime - OFFSET_TO_EPOCH) / 10000000;
return (newtime/10);
#elif defined(HAVE_GETHRTIME)
/*