[decompiler] fix rare bug with casts (#1920)

This commit is contained in:
water111
2022-09-26 18:14:54 -04:00
committed by GitHub
parent 5c7a3384e5
commit a22d49ab11
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -584,7 +584,7 @@ FormElement* rewrite_as_countdown(LetElement* in, const Env& env, FormPool& pool
body->elts().erase(body->elts().begin());
return pool.alloc_element<CounterLoopElement>(CounterLoopElement::Kind::COUNTDOWN,
in->entries().at(0).dest, *lt_var, *inc_var,
in->entries().at(0).dest, *lt_var, ra,
in->entries().at(0).src, body);
}