mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix signedness warning in gio/gdatainputstream.c:scan_for_newline()
gio/gdatainputstream.c: In function ‘scan_for_newline’: gio/gdatainputstream.c:654:40: error: comparison of integer expressions of different signedness: ‘int’ and ‘gsize’ {aka ‘long unsigned int’} 654 | for (i = 0; checked < available && i < peeked; i++) | ^
This commit is contained in:
parent
fc8062d906
commit
f2b8921df8
@ -631,7 +631,7 @@ scan_for_newline (GDataInputStream *stream,
|
||||
GDataInputStreamPrivate *priv;
|
||||
const char *buffer;
|
||||
gsize start, end, peeked;
|
||||
int i;
|
||||
gsize i;
|
||||
gssize found_pos;
|
||||
int newline_len;
|
||||
gsize available, checked;
|
||||
|
Loading…
Reference in New Issue
Block a user