aboutsummaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
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