forked from pool/texinfo
3d37894bf4
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texinfo?expand=0&rev=16
32 lines
959 B
Diff
32 lines
959 B
Diff
--- 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;
|