Commit 07b9a9c9 authored by jani@hynda.mysql.fi's avatar jani@hynda.mysql.fi

Added a missing cast.

parent a5d6a691
......@@ -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)
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment