diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-04-03 10:35:34 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-04-03 10:35:34 -0300 |
commit | 0d88545b82b82671904474499b5d312141170ab6 (patch) | |
tree | 5a924d4d492dd987a5480a15cd1d12947089db85 /lparser.c | |
parent | f84c5a5fc68f83b3adad37919e0096ea3c7f4129 (diff) | |
download | lua-0d88545b82b82671904474499b5d312141170ab6.tar.gz lua-0d88545b82b82671904474499b5d312141170ab6.tar.bz2 lua-0d88545b82b82671904474499b5d312141170ab6.zip |
warnings from several compilers (mainly typecasts when lua_Number is float)
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 1.206 2003/02/18 16:02:56 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 1.207 2003/02/28 17:19:47 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -961,7 +961,7 @@ static void cond (LexState *ls, expdesc *v) { | |||
961 | static void whilestat (LexState *ls, int line) { | 961 | static void whilestat (LexState *ls, int line) { |
962 | /* whilestat -> WHILE cond DO block END */ | 962 | /* whilestat -> WHILE cond DO block END */ |
963 | Instruction codeexp[MAXEXPWHILE + EXTRAEXP]; | 963 | Instruction codeexp[MAXEXPWHILE + EXTRAEXP]; |
964 | int lineexp = 0; | 964 | int lineexp; |
965 | int i; | 965 | int i; |
966 | int sizeexp; | 966 | int sizeexp; |
967 | FuncState *fs = ls->fs; | 967 | FuncState *fs = ls->fs; |