aboutsummaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-12-26 12:46:07 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-12-26 12:46:07 -0200
commit900bdd57613048bafc02848b2d89bbae58ce658c (patch)
tree012920fabf16b82c77c0c68c9e0807e3f675f00b /loslib.c
parenta51069202a87f485ee7eba62158aab29d4e4e489 (diff)
downloadlua-900bdd57613048bafc02848b2d89bbae58ce658c.tar.gz
lua-900bdd57613048bafc02848b2d89bbae58ce658c.tar.bz2
lua-900bdd57613048bafc02848b2d89bbae58ce658c.zip
detail (to avoid warnings)
Diffstat (limited to 'loslib.c')
-rw-r--r--loslib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loslib.c b/loslib.c
index a79119cb..1d39b2b2 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loslib.c,v 1.52 2014/11/02 19:33:33 roberto Exp roberto $ 2** $Id: loslib.c,v 1.53 2014/12/10 15:42:42 roberto Exp roberto $
3** Standard Operating System library 3** Standard Operating System library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -100,8 +100,8 @@
100#else /* }{ */ 100#else /* }{ */
101 101
102/* ISO C definitions */ 102/* ISO C definitions */
103#define l_gmtime(t,r) ((void)r, gmtime(t)) 103#define l_gmtime(t,r) ((void)(r)->tm_sec, gmtime(t))
104#define l_localtime(t,r) ((void)r, localtime(t)) 104#define l_localtime(t,r) ((void)(r)->tm_sec, localtime(t))
105 105
106#endif /* } */ 106#endif /* } */
107 107