fd-passing test: numbers of things are unsigned (-Wsign-compare)
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 4 Mar 2015 11:29:41 +0000 (11:29 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 4 Mar 2015 18:40:47 +0000 (18:40 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
test/fdpass.c

index 65ade4c114b7e0aa71191d0ba6eec90f202c0a3e..74235c6f36dfd02acd15b7099c8bdd4852cbe1b2 100644 (file)
@@ -429,7 +429,7 @@ test_too_many (Fixture *f,
 {
 #ifdef HAVE_UNIX_FD_PASSING
   DBusMessage *outgoing;
-  int i;
+  unsigned int i;
 
   test_connect (f, data);
 
@@ -608,7 +608,7 @@ test_flood (Fixture *f,
     gconstpointer data)
 {
 #ifdef HAVE_UNIX_FD_PASSING
-  int i, j;
+  unsigned int i, j;
   DBusMessage *outgoing[SOME_MESSAGES];
   dbus_uint32_t serial;