Janitorial work on casts
This commit is contained in:
@@ -149,7 +149,7 @@ static void loadString (LoadState *S, Proto *p, TString **sl) {
|
||||
return;
|
||||
}
|
||||
else if (size == 1) { /* previously saved string? */
|
||||
lua_Integer idx = cast(lua_Integer, loadSize(S)); /* get its index */
|
||||
lua_Integer idx = cast_st2S(loadSize(S)); /* get its index */
|
||||
TValue stv;
|
||||
luaH_getint(S->h, idx, &stv); /* get its value */
|
||||
*sl = ts = tsvalue(&stv);
|
||||
|
||||
Reference in New Issue
Block a user