mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-22 06:43:27 +00:00
Remove unnecessary cast
This commit is contained in:
parent
d3d66cfe2e
commit
2838682145
@ -355,7 +355,7 @@ static void LJ_FASTCALL recff_tonumber(jit_State *J, RecordFFData *rd)
|
||||
if (tref_isstr(tr)) {
|
||||
if (tref_isk(tr) && tref_isk(base) && kbase >= 2 && kbase <= 36) {
|
||||
TValue out;
|
||||
if (lj_strscan_num_base(strV(&rd->argv[0]), &out, (int)kbase))
|
||||
if (lj_strscan_num_base(strV(&rd->argv[0]), &out, kbase))
|
||||
J->base[0] = lj_ir_knum(J, numV(&out));
|
||||
else
|
||||
J->base[0] = TREF_NIL;
|
||||
|
Loading…
Reference in New Issue
Block a user