Emmanuel Fleury
1d02b96655
Fix signedness warnings in tests/gio-test.c
tests/gio-test.c: In function ‘recv_message’:
tests/gio-test.c:172:24: error: comparison of unsigned expression in ‘>= 0’ is always true
172 | g_assert (nbytes >= 0 && nbytes < BUFSIZE);
| ^~
glib/gmacros.h:941:25: note: in definition of macro ‘G_LIKELY’
941 | #define G_LIKELY(expr) (expr)
| ^~~~
tests/gio-test.c:172:7: note: in expansion of macro ‘g_assert’
172 | g_assert (nbytes >= 0 && nbytes < BUFSIZE);
| ^~~~~~~~
tests/gio-test.c:188:18: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’}
188 | for (j = 0; j < nbytes; j++)
| ^
tests/gio-test.c:189:30: error: comparison of integer expressions of different signedness: ‘char’ and ‘guint’ {aka ‘unsigned int’}
189 | g_assert (buf[j] == ' ' + ((nbytes + j) % 95));
| ^~
glib/gmacros.h:941:25: note: in definition of macro ‘G_LIKELY’
941 | #define G_LIKELY(expr) (expr)
| ^~~~
tests/gio-test.c:189:13: note: in expansion of macro ‘g_assert’
189 | g_assert (buf[j] == ' ' + ((nbytes + j) % 95));
| ^~~~~~~~
2021-05-06 14:35:20 +02:00
..
2005-10-05 17:37:46 +00:00
2021-05-04 16:13:41 +02:00
2021-05-04 08:43:29 +02:00
2020-06-10 09:48:02 +01:00
2017-11-27 11:44:08 +00:00
2019-05-30 10:38:45 +01:00
2014-06-28 13:07:52 -04:00
2020-03-18 14:50:36 +00:00
2020-03-18 14:50:36 +00:00
2018-04-27 16:46:19 +01:00
2017-05-29 19:53:35 +02:00
2018-09-21 08:45:54 -04:00
2018-11-01 16:12:32 +00:00
2021-05-04 08:45:56 +02:00
2017-05-29 19:53:35 +02:00
2017-05-29 19:53:35 +02:00
2020-11-17 15:50:07 +00:00
2020-11-17 15:50:07 +00:00
2021-05-06 14:35:20 +02:00
2001-07-20 20:14:37 +00:00
2013-11-10 22:45:04 +01:00
2017-05-29 19:53:35 +02:00
2017-05-29 19:53:35 +02:00
2021-05-04 08:46:10 +02:00
2018-09-21 08:45:54 -04:00
2017-05-29 19:53:35 +02:00
2019-10-08 12:10:20 +01:00
2019-09-06 19:03:31 +01:00
2021-04-29 12:40:05 +02:00
2012-11-15 14:19:06 -05:00
2020-06-10 09:48:02 +01:00
2020-11-15 17:34:27 +01:00
2020-02-27 10:33:45 +00:00
2017-05-29 19:53:35 +02:00
2017-05-29 19:53:35 +02:00
2017-05-29 19:53:35 +02:00
2021-05-04 16:13:41 +02:00
2017-05-29 19:53:35 +02:00
2018-12-26 23:45:47 +03:00
2018-12-26 23:45:47 +03:00
2020-06-10 09:48:02 +01:00
2020-06-10 09:48:02 +01:00
2021-05-06 14:21:40 +02:00
2013-11-10 22:44:12 +01:00
2021-01-29 20:26:05 +00:00
2020-06-10 09:48:02 +01:00
2021-05-04 16:13:41 +02:00
2019-08-10 21:56:33 +02:00
2018-06-12 22:18:03 +02:00
2012-11-01 20:12:01 -04:00
2018-09-27 09:21:32 +01:00
2006-07-31 04:50:05 +00:00
2013-03-18 23:28:27 -04:00