From: Simon McVittie Date: Wed, 4 Mar 2015 11:29:41 +0000 (+0000) Subject: fd-passing test: numbers of things are unsigned (-Wsign-compare) X-Git-Tag: dbus-1.9.16~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3e345f15ae62017c77766bdc7d15da678459824;p=thirdparty%2Fdbus.git fd-passing test: numbers of things are unsigned (-Wsign-compare) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289 Reviewed-by: Ralf Habacker --- diff --git a/test/fdpass.c b/test/fdpass.c index 65ade4c11..74235c6f3 100644 --- a/test/fdpass.c +++ b/test/fdpass.c @@ -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;