Emmanuel Fleury
a1758820d7
Fix signedness warnings in glib/tests/queue.c
glib/tests/queue.c: In function ‘check_integrity’:
glib/tests/queue.c:36:15: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
36 | g_assert (n == queue->length);
| ^~
glib/gmacros.h:939:25: note: in definition of macro ‘G_LIKELY’
939 | #define G_LIKELY(expr) (expr)
| ^~~~
glib/tests/queue.c:36:3: note: in expansion of macro ‘g_assert’
36 | g_assert (n == queue->length);
| ^~~~~~~~
glib/tests/queue.c:47:15: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
47 | g_assert (n == queue->length);
| ^~
glib/gmacros.h:939:25: note: in definition of macro ‘G_LIKELY’
939 | #define G_LIKELY(expr) (expr)
| ^~~~
glib/tests/queue.c:47:3: note: in expansion of macro ‘g_assert’
47 | g_assert (n == queue->length);
| ^~~~~~~~
glib/tests/queue.c: In function ‘random_test’:
glib/tests/queue.c:274:36: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘int’
274 | g_assert (qinf->length == l);
| ^~
glib/gmacros.h:939:25: note: in definition of macro ‘G_LIKELY’
939 | #define G_LIKELY(expr) (expr)
| ^~~~
glib/tests/queue.c:274:13: note: in expansion of macro ‘g_assert’
274 | g_assert (qinf->length == l);
| ^~~~~~~~
glib/tests/queue.c:419:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’}
419 | if (n == q->length - 1)
| ^~
glib/tests/queue.c:425:31: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’}
425 | if (n >= 0 && n < q->length)
| ^
glib/tests/queue.c:453:30: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’}
453 | if (n < 0 || n >= q->length)
| ^~
glib/tests/queue.c:640:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’}
640 | if (n == g_queue_get_length (q) - 1)
| ^~
2020-11-13 10:12:16 +01:00
..
2020-10-01 11:46:23 +01:00
2020-04-03 16:30:27 +02:00
2020-07-17 15:08:59 +01:00
2017-02-06 14:40:38 +01:00
2020-06-12 15:01:08 +01:00
2020-07-27 15:41:09 +01:00
2020-10-14 14:17:09 +02:00
2020-07-27 15:41:09 +01:00
2019-12-13 15:07:35 +01:00
2020-02-24 16:18:58 +00:00
2020-10-14 14:17:09 +02:00
2011-05-28 17:39:12 -04:00
2020-05-30 17:40:52 +01:00
2010-07-10 23:56:45 -04:00
2020-06-12 15:01:08 +01:00
2020-07-27 15:41:09 +01:00
2018-09-20 16:08:19 +02:00
2020-10-14 14:17:09 +02:00
2020-09-14 10:11:44 +02:00
2020-07-27 15:41:09 +01:00
2020-10-14 14:17:09 +02:00
2014-10-02 14:41:01 -04:00
2020-09-14 10:11:44 +02:00
2010-07-05 23:43:47 -04:00
2018-12-17 16:19:31 -05:00
2013-11-11 22:38:36 +08:00
2011-02-13 23:49:19 -05:00
2018-11-28 11:04:48 +01:00
2020-06-10 09:48:02 +01:00
2020-10-31 12:26:44 +00:00
2020-10-16 13:47:22 +00:00
2020-01-15 14:07:20 +01:00
2018-12-28 15:30:28 +01:00
2020-01-15 14:07:20 +01:00
2017-02-06 14:40:38 +01:00
2020-11-13 10:12:16 +01:00
2018-11-04 17:28:58 +01:00
2020-11-13 10:12:16 +01:00
2017-02-20 12:40:26 +01:00
2020-06-10 09:48:02 +01:00
2020-08-05 18:50:13 +04:00
2013-11-23 00:39:07 -05:00
2020-02-24 14:12:30 +00:00
2020-10-14 13:15:14 +01:00
2010-07-07 22:03:02 -04:00
2020-03-05 09:39:33 +01:00
2020-11-13 10:12:16 +01:00
2020-01-21 19:54:55 +04:00
2020-10-26 13:08:01 +00:00
2020-07-27 15:41:09 +01:00
2017-05-24 11:58:19 +02:00
2020-11-13 10:12:16 +01:00
2020-06-10 09:48:02 +01:00
2017-05-24 11:58:19 +02:00
2014-01-01 17:59:21 -05:00
2019-08-24 15:49:48 +03:00
2020-10-21 10:51:14 +01:00
2020-10-14 13:15:09 +01:00
2020-11-13 10:12:16 +01:00
2020-11-13 10:12:16 +01:00
2020-06-12 15:01:08 +01:00
2019-08-27 13:17:39 +00:00
2017-05-24 11:58:19 +02:00
2011-01-27 23:07:53 -05:00
2020-11-13 10:12:16 +01:00
2020-07-27 15:41:09 +01:00
2020-11-13 10:12:16 +01:00
2020-11-13 10:12:16 +01:00
2019-03-08 19:46:21 +00:00
2018-12-18 11:18:43 +00:00
2020-07-27 15:41:09 +01:00
2019-06-18 16:42:51 +08:00
2020-06-10 09:48:02 +01:00
2020-10-14 13:04:44 +01:00
2020-07-27 15:41:09 +01:00
2017-05-24 11:58:19 +02:00
2020-03-18 08:58:02 +00:00
2020-06-10 09:48:02 +01:00
2018-12-17 17:16:03 +00:00
2015-09-12 11:13:45 -04:00
2020-03-05 09:39:33 +01:00
2020-06-10 09:48:02 +01:00
2013-08-17 13:02:25 -04:00
2020-06-23 10:49:44 +01:00
2020-07-27 15:41:09 +01:00
2020-07-27 15:41:09 +01:00
2020-10-14 11:01:24 +00:00
2020-06-12 15:01:08 +01:00
2011-10-16 19:08:59 -04:00
2019-05-21 12:33:15 +01:00
2020-03-04 15:32:25 +00:00
2020-02-07 16:24:48 +02:00
2020-02-13 17:33:45 +00:00
2019-08-21 19:42:27 +03:00
2019-07-29 12:27:29 +01:00
2020-11-13 10:12:16 +01:00
2020-07-27 15:41:09 +01:00
2019-11-26 12:17:04 +00:00
2020-11-06 15:32:17 -06:00
2017-10-25 10:33:48 +01:00
2017-05-24 11:58:19 +02:00
2019-11-14 18:38:03 +00:00
2019-09-14 18:01:22 +02:00
2020-07-27 15:41:09 +01:00
2020-06-12 15:01:08 +01:00