[decompiler] fix missing casts issue (#573)

* fix casts issue

* fix bug

* one last small fix
This commit is contained in:
water111
2021-06-09 21:35:13 -04:00
committed by GitHub
parent 12d72c7897
commit 92afd62e2c
102 changed files with 340 additions and 528 deletions
@@ -164,10 +164,16 @@
((allocation symbol) (type-to-make type) (name basic) (length int))
(let
((obj
(object-new
allocation
type-to-make
(the-as int (+ (-> type-to-make size) (the-as uint (* (+ length -1) 32))))
(the-as
object
(object-new
allocation
type-to-make
(the-as
int
(+ (-> type-to-make size) (the-as uint (* (+ length -1) 32)))
)
)
)
)
)