summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-08-20 14:25:15 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-08-20 14:28:20 +0900
commit024812c1a76286991f292c3191936778ec219ff8 (patch)
treeb886bbcbf809fdaa8c00b7abc784a40c6ccbfce8
parent8689d54471aafdd7a5b5a27ce116bf2ab68c1042 (diff)
evil: fix incorrect function call.
_localtime64_s() requires _time64_t as one argument but here we passes time_s. Proper api is localtime_s().
-rw-r--r--src/lib/evil/evil_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evil/evil_time.c b/src/lib/evil/evil_time.c
index 9e6fd5c3f2..6964654217 100644
--- a/src/lib/evil/evil_time.c
+++ b/src/lib/evil/evil_time.c
@@ -13,7 +13,7 @@
13struct tm * 13struct tm *
14evil_localtime_r(const time_t *timep, struct tm *result) 14evil_localtime_r(const time_t *timep, struct tm *result)
15{ 15{
16 _localtime64_s(result, timep); 16 localtime_s(result, timep);
17 17
18 return result; 18 return result;
19} 19}