From: Simon McVittie Date: Wed, 4 Mar 2015 11:05:50 +0000 (+0000) Subject: _dbus_listen_systemd_sockets: fds are signed ints (-Wsign-compare) X-Git-Tag: dbus-1.9.16~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=719829a41d9aff86bb54be80d3abae9e62aa34fc;p=thirdparty%2Fdbus.git _dbus_listen_systemd_sockets: fds are signed ints (-Wsign-compare) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289 Reviewed-by: Ralf Habacker --- diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index c7069521a..3f606712d 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);