diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-19 11:33:22 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-19 11:33:22 -0200 |
commit | 910836fb53cb80e93de666526714bc51f2c63510 (patch) | |
tree | 954e893d1ed30b8bcb1fc89b063e7b56472dd899 /lbuiltin.c | |
parent | 8e7451512f01a89b4230be65cf086f7c1d41d2e2 (diff) | |
download | lua-910836fb53cb80e93de666526714bc51f2c63510.tar.gz lua-910836fb53cb80e93de666526714bc51f2c63510.tar.bz2 lua-910836fb53cb80e93de666526714bc51f2c63510.zip |
warnings from Visual C++
Diffstat (limited to 'lbuiltin.c')
-rw-r--r-- | lbuiltin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbuiltin.c,v 1.66 1999/10/11 16:13:11 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.c,v 1.67 1999/10/14 19:13:31 roberto Exp roberto $ |
3 | ** Built-in functions | 3 | ** Built-in functions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -671,7 +671,7 @@ static void extra_services (void) { | |||
671 | lua_settagmethod(luaL_check_int(2), "gc"); | 671 | lua_settagmethod(luaL_check_int(2), "gc"); |
672 | break; | 672 | break; |
673 | 673 | ||
674 | default: luaL_arg_check(0, 1, "invalid service"); | 674 | default: luaL_argerror(1, "invalid service"); |
675 | } | 675 | } |
676 | } | 676 | } |
677 | 677 | ||