--- texinfo-4.13-/info/window.c 2008-09-18 20:31:59.000000000 +0200 +++ texinfo-4.13/info/window.c 2010-09-20 21:32:41.941755338 +0200 @@ -1581,7 +1581,7 @@ const char *carried_over_ptr; size_t carried_over_len, carried_over_count; const char *cur_ptr = mbi_cur_ptr (iter); - int cur_len = mb_len (mbi_cur (iter)); + size_t cur_len = mb_len (mbi_cur (iter)); int replen; int delim = 0; int rc; @@ -1754,7 +1754,7 @@ mbi_advance (iter)) { const char *cur_ptr = mbi_cur_ptr (iter); - int cur_len = mb_len (mbi_cur (iter)); + size_t cur_len = mb_len (mbi_cur (iter)); if (cur_len == 1) { @@ -1852,8 +1852,8 @@ mbi_advance (iter)) { const char *cur_ptr = mbi_cur_ptr (iter); - int cur_len = mb_len (mbi_cur (iter)); - int replen; + size_t cur_len = mb_len (mbi_cur (iter)); + size_t replen; if (cur_ptr >= endp) break;