diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.265 2017/04/24 16:59:26 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.266 2017/05/11 18:57:46 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -389,7 +389,7 @@ LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) { | |||
389 | } | 389 | } |
390 | 390 | ||
391 | 391 | ||
392 | LUA_API size_t lua_rawlen (lua_State *L, int idx) { | 392 | LUA_API lua_Unsigned lua_rawlen (lua_State *L, int idx) { |
393 | StkId o = index2addr(L, idx); | 393 | StkId o = index2addr(L, idx); |
394 | switch (ttype(o)) { | 394 | switch (ttype(o)) { |
395 | case LUA_TSHRSTR: return tsvalue(o)->shrlen; | 395 | case LUA_TSHRSTR: return tsvalue(o)->shrlen; |