diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-10-02 14:40:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-10-02 14:40:53 -0300 |
commit | c6b6024a9d4d23e66bfb1e16f3e7f7062d1742c7 (patch) | |
tree | 27fab122a63f2ffa14db6f38a85d2f7a037c34fc /lstate.c | |
parent | d58ce8106ef59366008cf23c68bc1fe3fb81eea4 (diff) | |
download | lua-c6b6024a9d4d23e66bfb1e16f3e7f7062d1742c7.tar.gz lua-c6b6024a9d4d23e66bfb1e16f3e7f7062d1742c7.tar.bz2 lua-c6b6024a9d4d23e66bfb1e16f3e7f7062d1742c7.zip |
cast in 'luai_makeseed' now casts to needed type
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.97 2012/05/23 15:37:09 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.98 2012/05/30 12:33:44 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -48,7 +48,7 @@ | |||
48 | */ | 48 | */ |
49 | #if !defined(luai_makeseed) | 49 | #if !defined(luai_makeseed) |
50 | #include <time.h> | 50 | #include <time.h> |
51 | #define luai_makeseed() cast(size_t, time(NULL)) | 51 | #define luai_makeseed() cast(unsigned int, time(NULL)) |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | 54 | ||