mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
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:
parent
f2b8921df8
commit
f606e3350e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user