forked from enlightenment/efl
evil: fix incorrect function call.
_localtime64_s() requires _time64_t as one argument but here we passes time_s. Proper api is localtime_s().
This commit is contained in:
parent
8689d54471
commit
024812c1a7
|
@ -13,7 +13,7 @@
|
||||||
struct tm *
|
struct tm *
|
||||||
evil_localtime_r(const time_t *timep, struct tm *result)
|
evil_localtime_r(const time_t *timep, struct tm *result)
|
||||||
{
|
{
|
||||||
_localtime64_s(result, timep);
|
localtime_s(result, timep);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue