diff options
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -149,7 +149,7 @@ static void loadString (LoadState *S, Proto *p, TString **sl) { | |||
149 | return; | 149 | return; |
150 | } | 150 | } |
151 | else if (size == 1) { /* previously saved string? */ | 151 | else if (size == 1) { /* previously saved string? */ |
152 | lua_Integer idx = cast(lua_Integer, loadSize(S)); /* get its index */ | 152 | lua_Integer idx = cast_st2S(loadSize(S)); /* get its index */ |
153 | TValue stv; | 153 | TValue stv; |
154 | luaH_getint(S->h, idx, &stv); /* get its value */ | 154 | luaH_getint(S->h, idx, &stv); /* get its value */ |
155 | *sl = ts = tsvalue(&stv); | 155 | *sl = ts = tsvalue(&stv); |