[sysprof] tests: fix warning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] tests: fix warning
- Date: Tue, 26 Apr 2016 06:53:20 +0000 (UTC)
commit 012516fc1e687fe344d81b6ad697bfbec4ba5c92
Author: Christian Hergert <chergert redhat com>
Date: Mon Apr 25 23:53:13 2016 -0700
tests: fix warning
tests/test-capture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-capture.c b/tests/test-capture.c
index d6bd326..0b1d185 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]