mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix signedness warning in gio/tests/proxy-test.c
gio/tests/proxy-test.c: In function ‘do_echo_test’: gio/tests/proxy-test.c:855:25: error: comparison of integer expressions of different signedness: ‘gssize’ {aka ‘long int’} and ‘gsize’ {aka ‘long unsigned int’} 855 | for (total = 0; total < nwrote; total += nread) | ^
This commit is contained in:
parent
8608eccf9a
commit
e7aec308e9
@ -842,8 +842,8 @@ do_echo_test (GSocketConnection *conn)
|
||||
GIOStream *iostream = G_IO_STREAM (conn);
|
||||
GInputStream *istream = g_io_stream_get_input_stream (iostream);
|
||||
GOutputStream *ostream = g_io_stream_get_output_stream (iostream);
|
||||
gssize nread, total;
|
||||
gsize nwrote;
|
||||
gssize nread;
|
||||
gsize nwrote, total;
|
||||
gchar buf[128];
|
||||
GError *error = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user