about summary refs log tree commit diff stats
path: root/src/GridText.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GridText.c')
-rw-r--r--src/GridText.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GridText.c b/src/GridText.c
index 3c148609..5786b5cb 100644
--- a/src/GridText.c
+++ b/src/GridText.c
@@ -4432,7 +4432,7 @@ PUBLIC void _internal_HTC ARGS3(HText *,text, int,style, int,dir)
 	if (line->numstyles > 0 && dir == 0 &&
 	    line->styles[line->numstyles].direction &&
 	    line->styles[line->numstyles].style == style &&
-	    line->styles[line->numstyles].horizpos
+	    (int) line->styles[line->numstyles].horizpos
 	    == (int)line->size - ctrl_chars_on_this_line) {
 	    /*
 	     *  If this is an OFF change directly preceded by an