From 1cf46a6792a9e243edb857e131e44338bcbbd341 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 25 Feb 2008 17:58:00 +0000 Subject: SignednessWarnings.squash() Aside from a number of instances of const being cast away (mostly relating to the urldb, which is correct to only export const data) this now builds warning-free with GCC 4 on x86, which is nice. svn path=/trunk/netsurf/; revision=3868 --- render/textplain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/textplain.c') 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, -- cgit v1.2.3