summaryrefslogtreecommitdiff
path: root/dbus/dbus-sysdeps-unix.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-03-04 11:05:50 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-03-04 18:40:39 +0000
commit719829a41d9aff86bb54be80d3abae9e62aa34fc (patch)
tree82d854264f0c0b5bdfa2db2e75314b51fcbd4af6 /dbus/dbus-sysdeps-unix.c
parent51a718c678eda0f051b3ec6ba2b57afcaf0239fd (diff)
downloaddbus-719829a41d9aff86bb54be80d3abae9e62aa34fc.tar.gz
_dbus_listen_systemd_sockets: fds are signed ints (-Wsign-compare)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'dbus/dbus-sysdeps-unix.c')
-rw-r--r--dbus/dbus-sysdeps-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c
index c7069521..3f606712 100644
--- a/dbus/dbus-sysdeps-unix.c
+++ b/dbus/dbus-sysdeps-unix.c
@@ -1165,7 +1165,7 @@ _dbus_listen_systemd_sockets (int **fds,
{
#ifdef HAVE_SYSTEMD
int r, n;
- unsigned fd;
+ int fd;
int *new_fds;
_DBUS_ASSERT_ERROR_IS_CLEAR (error);