From 33f4aa2cf880ddea732a5ee624dd9afb8c7cbccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <rafael.carre@savoirfairelinux.com> Date: Thu, 7 Jul 2011 17:08:14 -0400 Subject: [PATCH] * #6360 : fix warnings in check_global test (cherry picked from commit 9e2bd6a7496dd64f6f48595e385760019aab1193) --- sflphone-client-gnome/tests/check_global.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sflphone-client-gnome/tests/check_global.c b/sflphone-client-gnome/tests/check_global.c index e50044881a..53eacbc409 100644 --- a/sflphone-client-gnome/tests/check_global.c +++ b/sflphone-client-gnome/tests/check_global.c @@ -123,16 +123,16 @@ START_TEST (test_get_account_position) pos = account_list_get_position (test); pos1 = account_list_get_position (test2); - fail_if (pos == -1, "ERROR - bad account position"); + fail_if (pos == (guint)-1, "ERROR - bad account position"); fail_unless (pos == 0, "ERROR - bad account position"); - fail_if (pos1 == -1, "ERROR - bad account position"); + fail_if (pos1 == (guint)-1, "ERROR - bad account position"); fail_unless (pos1 == 1, "ERROR - bad account position"); account_list_set_current (test); pos = account_list_get_position (test); pos1 = account_list_get_position (test2); - fail_if (pos == -1, "ERROR - bad account position"); + fail_if (pos == (guint)-1, "ERROR - bad account position"); fail_unless (pos == 0, "ERROR - bad account position"); fail_unless (pos1 == 1, "ERROR - bad account position"); } -- GitLab