diff options
| -rw-r--r-- | lfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lfunc.c,v 1.31 2000/09/29 12:42:13 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 1.32 2000/10/10 19:52:58 roberto Exp roberto $ |
| 3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -14,7 +14,7 @@ | |||
| 14 | #include "lstate.h" | 14 | #include "lstate.h" |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | #define sizeclosure(n) (sizeof(Closure) + (lint32)sizeof(TObject)*((n)-1)) | 17 | #define sizeclosure(n) ((int)sizeof(Closure) + (int)sizeof(TObject)*((n)-1)) |
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | Closure *luaF_newclosure (lua_State *L, int nelems) { | 20 | Closure *luaF_newclosure (lua_State *L, int nelems) { |
