From 012516fc1e687fe344d81b6ad697bfbec4ba5c92 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 25 Apr 2016 23:53:13 -0700 Subject: [PATCH] tests: fix warning --- tests/test-capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-capture.c b/tests/test-capture.c index d6bd3264..0b1d1854 100644 --- a/tests/test-capture.c +++ b/tests/test-capture.c @@ -225,7 +225,7 @@ test_reader_basic (void) for (i = 0; i < 1000; i++) { - gint ids[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + guint ids[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; SpCaptureCounterValue values[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; r = sp_capture_writer_set_counters (writer, t, -1, -1, ids, values, G_N_ELEMENTS (values));