summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/html_interaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/html_interaction.c b/render/html_interaction.c
index 90f8fe25f..8cbd2c143 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -831,7 +831,7 @@ size_t html_selection_drag_end(hlcache_handle *h, browser_mouse_state mouse,
int pixel_offset;
struct box *box;
int dx, dy;
- int idx = 0;
+ size_t idx = 0;
box = box_pick_text_box(h, x, y, dir, &dx, &dy);
if (box) {