correct type of length passed to i_utf8_advance()
authorTony Cook <tony@develop-help.com>
Mon, 20 Jun 2011 10:43:32 +0000 (20:43 +1000)
committerTony Cook <tony@develop-help.com>
Mon, 20 Jun 2011 10:43:32 +0000 (20:43 +1000)
W32/win32.c

index ced1285937dc2e6a0e577b4cf1fead8c5bbaf813..b466d99156e759eff347e66452b68553891ee49e 100644 (file)
@@ -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;