[PATCH spice-gtk 1/5] test-session: Fix signed compare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The varible is compared with G_N_ELEMENTS which returns unsigned value
---
 tests/session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/session.c b/tests/session.c
index d065b60..00076f2 100644
--- a/tests/session.c
+++ b/tests/session.c
@@ -3,7 +3,7 @@
 static void test_session_uri(void)
 {
     SpiceSession *s;
-    gint i;
+    guint i;
 
     struct {
         gchar *port;
-- 
2.8.2

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]