Fix signedness warning in gio/gdatainputstream.c:scan_for_chars()

gio/gdatainputstream.c: In function ‘scan_for_chars’:
gio/gdatainputstream.c:879:40: error: comparison of integer expressions of different signedness: ‘int’ and ‘gsize’ {aka ‘long unsigned int’}
  879 |   for (i = 0; checked < available && i < peeked; i++)
      |                                        ^
This commit is contained in:
Emmanuel Fleury 2020-11-16 20:43:43 +01:00
parent f2b8921df8
commit f606e3350e

View File

@ -861,7 +861,7 @@ scan_for_chars (GDataInputStream *stream,
GBufferedInputStream *bstream;
const char *buffer;
gsize start, end, peeked;
int i;
gsize i;
gsize available, checked;
const char *stop_char;
const char *stop_end;