# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1615051610 -3600
# Node ID d91def9fcfdd6f68bde4262c119932797b1b96c5
# Parent  83f5499d1f102237f1898c19050624a01135df53
util.rsm: Correctly coerce integer value for <index> (fix #1642)

diff -r 83f5499d1f10 -r d91def9fcfdd util/rsm.lua
--- a/util/rsm.lua	Sat Mar 06 18:22:52 2021 +0100
+++ b/util/rsm.lua	Sat Mar 06 18:26:50 2021 +0100
@@ -65,6 +65,9 @@
 	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;