mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Added a missing cast.
This commit is contained in:
parent
a5d6a691dd
commit
07b9a9c992
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue