diff --git a/irtoc_scripts/object.irt b/irtoc_scripts/object.irt index 48ec6cced205e8085d0dcf565f4b4f1c55158281..f91f898b8a614f72bc75b25dd4f51a5ea9856f89 100644 --- a/irtoc_scripts/object.irt +++ b/irtoc_scripts/object.irt @@ -71,7 +71,7 @@ scoped_macro(:prop_get_sorted_index) do |attributes| end scoped_macro(:layout_info_get_sorted_index) do |layout, index| - attributes := get_prop_attr(layout, index) + attributes := anytoi32(get_prop_attr(layout, index)) prop_get_sorted_index(attributes) end