summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-03-04 11:29:41 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-03-04 18:40:47 +0000
commitc3e345f15ae62017c77766bdc7d15da678459824 (patch)
tree0989a4a1faa9eb471002af991b14a47f1eb1e825
parent719829a41d9aff86bb54be80d3abae9e62aa34fc (diff)
downloaddbus-c3e345f15ae62017c77766bdc7d15da678459824.tar.gz
fd-passing test: numbers of things are unsigned (-Wsign-compare)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
-rw-r--r--test/fdpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fdpass.c b/test/fdpass.c
index 65ade4c1..74235c6f 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;