aboutsummaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
Diffstat (limited to 'loslib.c')
-rw-r--r--loslib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loslib.c b/loslib.c
index 1d39b2b2..65aaeaeb 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loslib.c,v 1.53 2014/12/10 15:42:42 roberto Exp roberto $ 2** $Id: loslib.c,v 1.54 2014/12/26 14:46:07 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*/
@@ -287,7 +287,7 @@ static int os_time (lua_State *L) {
287 t = mktime(&ts); 287 t = mktime(&ts);
288 } 288 }
289 if (t != (time_t)(l_timet)t) 289 if (t != (time_t)(l_timet)t)
290 luaL_error(L, "time result cannot be represented in this Lua instalation"); 290 luaL_error(L, "time result cannot be represented in this Lua installation");
291 else if (t == (time_t)(-1)) 291 else if (t == (time_t)(-1))
292 lua_pushnil(L); 292 lua_pushnil(L);
293 else 293 else