util.rsm: Correctly coerce integer value for <index> (fix #1642)

This commit is contained in:
Kim Alvefur 2021-03-06 18:26:50 +01:00
parent 55fb091536
commit 6bae44fea8

View file

@ -65,6 +65,9 @@ local element_generators = setmetatable({
max = function (st, data)
st:text_tag("max", inttostr(data));
end;
index = function (st, data)
st:text_tag("index", inttostr(data));
end;
count = function (st, data)
st:text_tag("count", inttostr(data));
end;