diff options
-rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.c,v 1.259 2014/02/19 13:48:53 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.260 2014/03/12 20:57:40 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -397,7 +397,7 @@ LUALIB_API lua_Number luaL_optnumber (lua_State *L, int arg, lua_Number def) { | |||
397 | 397 | ||
398 | static void interror (lua_State *L, int arg) { | 398 | static void interror (lua_State *L, int arg) { |
399 | if (lua_type(L, arg) == LUA_TNUMBER) | 399 | if (lua_type(L, arg) == LUA_TNUMBER) |
400 | luaL_argerror(L, arg, "float value out of range"); | 400 | luaL_argerror(L, arg, "float value out of integer range"); |
401 | else | 401 | else |
402 | tag_error(L, arg, LUA_TNUMBER); | 402 | tag_error(L, arg, LUA_TNUMBER); |
403 | } | 403 | } |