From 648db528f5cc197c38f7b17bb09dd53958df6302 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 12 Aug 2007 15:41:10 +0000 Subject: [PATCH] make gcc even more shut up git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1510 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-autoipd/iface-linux.c | 4 ++-- avahi-autoipd/main.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avahi-autoipd/iface-linux.c b/avahi-autoipd/iface-linux.c index bd3fd57..5bc0300 100644 --- a/avahi-autoipd/iface-linux.c +++ b/avahi-autoipd/iface-linux.c @@ -110,7 +110,7 @@ static int process_nlmsg(struct nlmsghdr *n) { struct ifinfomsg *ifi; ifi = NLMSG_DATA(n); - if (ifi->ifi_family != AF_UNSPEC || ifi->ifi_index != ifindex) + if (ifi->ifi_family != AF_UNSPEC || (int) ifi->ifi_index != ifindex) return 0; if (n->nlmsg_type == RTM_DELLINK) { @@ -139,7 +139,7 @@ static int process_nlmsg(struct nlmsghdr *n) { ifa = NLMSG_DATA(n); - if (ifa->ifa_family != AF_INET || ifa->ifa_index != ifindex) + if (ifa->ifa_family != AF_INET || (int) ifa->ifa_index != ifindex) return 0; l = NLMSG_PAYLOAD(n, sizeof(*ifa)); diff --git a/avahi-autoipd/main.c b/avahi-autoipd/main.c index 814b990..27c5a29 100644 --- a/avahi-autoipd/main.c +++ b/avahi-autoipd/main.c @@ -1042,7 +1042,7 @@ static int loop(int iface, uint32_t addr) { FD_ARP, FD_IFACE, FD_SIGNAL, - FD_MAX, + FD_MAX }; int fd = -1, ret = -1; -- 2.39.5