From c505f341d638f8f0adcef4df85bcc8def6c930a3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 22 Dec 2005 14:19:56 -0200 Subject: small changes in casts --- loslib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loslib.c') diff --git a/loslib.c b/loslib.c index cc6a28b3..804d0696 100644 --- a/loslib.c +++ b/loslib.c @@ -1,5 +1,5 @@ /* -** $Id: loslib.c,v 1.14 2005/10/21 13:47:42 roberto Exp roberto $ +** $Id: loslib.c,v 1.15 2005/12/15 18:17:49 roberto Exp roberto $ ** Standard Operating System library ** See Copyright Notice in lua.h */ @@ -179,7 +179,7 @@ static int os_time (lua_State *L) { if (t == (time_t)(-1)) lua_pushnil(L); else - lua_pushnumber(L, t); + lua_pushnumber(L, (lua_Number)t); return 1; } -- cgit v1.2.3-55-g6feb