diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-05-08 15:18:57 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-05-08 15:18:57 -0300 |
commit | 7ade1557627cf3f09c23c892ee227b7386f28414 (patch) | |
tree | ef534e61b85351c4edc5debb5d6f6a580e8fc5da /lundump.c | |
parent | d827e96f33056bcc0daca0c04b3273604f9d5986 (diff) | |
download | lua-7ade1557627cf3f09c23c892ee227b7386f28414.tar.gz lua-7ade1557627cf3f09c23c892ee227b7386f28414.tar.bz2 lua-7ade1557627cf3f09c23c892ee227b7386f28414.zip |
Janitorial work on casts
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); |