From c6b6024a9d4d23e66bfb1e16f3e7f7062d1742c7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 2 Oct 2012 14:40:53 -0300 Subject: [PATCH] cast in 'luai_makeseed' now casts to needed type --- lstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lstate.c b/lstate.c index 503240ac..c9b8f6e9 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 2.97 2012/05/23 15:37:09 roberto Exp roberto $ +** $Id: lstate.c,v 2.98 2012/05/30 12:33:44 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -48,7 +48,7 @@ */ #if !defined(luai_makeseed) #include -#define luai_makeseed() cast(size_t, time(NULL)) +#define luai_makeseed() cast(unsigned int, time(NULL)) #endif