From fd0e4176549581446add1d94f8300e8dd7062683 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 20 Jun 2011 20:43:32 +1000 Subject: [PATCH] correct type of length passed to i_utf8_advance() --- W32/win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/W32/win32.c b/W32/win32.c index ced12859..b466d991 100644 --- a/W32/win32.c +++ b/W32/win32.c @@ -55,7 +55,7 @@ int i_wf_bbox(const char *face, int size, const char *text, int length, int *bbo MAT2 mat; int ascent, descent, max_ascent = -size, min_descent = size; const char *workp; - int work_len; + size_t work_len; int got_first_ch = 0; unsigned long first_ch, last_ch; -- 2.39.5