From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> util.c: In function 'test_set_bit': util.c:131:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] --- tests/util.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/util.c b/tests/util.c index 922818a..ecd83eb 100644 --- a/tests/util.c +++ b/tests/util.c @@ -81,9 +81,9 @@ static void test_unix2dos(void) static const struct { unsigned width; unsigned height; - guint8 *and; - guint8 *xor; - guint8 *dest; + gchar *and; + gchar *xor; + gchar *dest; } mono[] = { { 8, 6, @@ -123,8 +123,8 @@ static void test_set_bit(void) { struct { unsigned len; - guint8 *src; - guint8 *dest; + gchar *src; + gchar *dest; } tests[] = { { 4, @@ -140,7 +140,7 @@ static void test_set_bit(void) int i, j, bit; guint8 *dest; int bytes; - + for (i = 0 ; i < G_N_ELEMENTS(tests); ++i) { bytes = (tests[i].len + 7) / 8; dest = g_malloc0(bytes); -- 1.8.4.2 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel