diff options
author | Eduardo Lima (Etrunko) <etrunko@redhat.com> | 2018-05-31 17:35:20 -0300 |
---|---|---|
committer | Eduardo Lima (Etrunko) <etrunko@redhat.com> | 2018-05-31 17:46:24 -0300 |
commit | 836bbd0e41a823cd30b86f2d89d9c3e48081018d (patch) | |
tree | da922b8dfef09aa0950ad06a0c9ba3cf46d27ed3 | |
parent | 68c0f93889fba893550541b699cb233f2dcbedfc (diff) |
test-quic: Fix -Wsign-compare warning
../tests/test-quic.c: In function ‘gdk_pixbuf_new_random’:
../tests/test-quic.c:205:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < gdk_pixbuf_get_byte_length(random_pixbuf); i++) {
^
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | tests/test-quic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-quic.c b/tests/test-quic.c index 7ac00f5..2a7ff3d 100644 --- a/tests/test-quic.c +++ b/tests/test-quic.c @@ -197,7 +197,7 @@ static GdkPixbuf *gdk_pixbuf_new_random(void) gint width = g_random_int_range(100, 2000); gint height = g_random_int_range(100, 2000); GdkPixbuf *random_pixbuf; - gint i; + guint i; guint8 *pixels; random_pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, has_alpha, 8, width, height); |