mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-08 13:07:17 +00:00
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>
This commit is contained in:
parent
68c0f93889
commit
836bbd0e41
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user