summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/textplain.c b/render/textplain.c
index c096c97a2..63610ba17 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -503,7 +503,7 @@ size_t textplain_offset_from_coords(struct content *c, int x, int y, int dir)
if (x <= width) {
int pixel_offset;
- int char_offset;
+ size_t char_offset;
nsfont_position_in_string(&textplain_style,
text, next_offset, x,