diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-06 16:05:10 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-06 16:05:10 -0300 |
commit | 71144e3ff0cb81bd9b8bb56d94dc76074c638c64 (patch) | |
tree | 8098675276d0640684898d4302ea98ae91e2c430 /ltests.c | |
parent | 0dbf0c5953a3d72deebc7e41840a0e73b46de8bc (diff) | |
download | lua-71144e3ff0cb81bd9b8bb56d94dc76074c638c64.tar.gz lua-71144e3ff0cb81bd9b8bb56d94dc76074c638c64.tar.bz2 lua-71144e3ff0cb81bd9b8bb56d94dc76074c638c64.zip |
errors `return' int, to avoid warnings
+ home-made `sprintf' (first version)
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 1.118 2002/05/01 20:40:42 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.119 2002/05/02 13:06:20 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -639,7 +639,7 @@ static int testC (lua_State *L) { | |||
639 | else if EQ("type") { | 639 | else if EQ("type") { |
640 | lua_pushstring(L, lua_typename(L, lua_type(L, getnum))); | 640 | lua_pushstring(L, lua_typename(L, lua_type(L, getnum))); |
641 | } | 641 | } |
642 | else luaL_verror(L, "unknown instruction %.30s", buff); | 642 | else luaL_verror(L, "unknown instruction %s", buff); |
643 | } | 643 | } |
644 | return 0; | 644 | return 0; |
645 | } | 645 | } |