projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8689d54
)
evil: fix incorrect function call.
author
ChunEon Park
<hermet@hermet.pe.kr>
Thu, 20 Aug 2015 05:25:15 +0000
(14:25 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Thu, 20 Aug 2015 05:28:20 +0000
(14:28 +0900)
_localtime64_s() requires _time64_t as one argument but here we passes time_s.
Proper api is localtime_s().
src/lib/evil/evil_time.c
patch
|
blob
|
history
diff --git
a/src/lib/evil/evil_time.c
b/src/lib/evil/evil_time.c
index
9e6fd5c
..
6964654
100644
(file)
--- a/
src/lib/evil/evil_time.c
+++ b/
src/lib/evil/evil_time.c
@@
-13,7
+13,7
@@
struct tm *
evil_localtime_r(const time_t *timep, struct tm *result)
{
-
_localtime64
_s(result, timep);
+
localtime
_s(result, timep);
return result;
}