diff options
author | Steven Barth <steven@midlink.org> | 2013-10-14 22:56:44 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-10-14 22:56:44 +0200 |
commit | 436f29d4d6acda4b95fc72a654a81fd8986e002b (patch) | |
tree | 4d63b1bca0176dda2bf837b125fdc9eb199519e3 /src | |
parent | 24cf1c534166aedd4af0498257a05a265128733d (diff) |
Remove unsigned / signed warning
Diffstat (limited to 'src')
-rw-r--r-- | src/dhcpv6-ia.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index 89d3a15..ccf7a58 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -408,7 +408,8 @@ static void update(struct interface *iface) if (addr[i].addr.s6_addr32[0] != iface->ia_addr[i].addr.s6_addr32[0] || addr[i].addr.s6_addr32[1] != iface->ia_addr[i].addr.s6_addr32[1] || (addr[i].preferred > 0) != (iface->ia_addr[i].preferred > 0) || - (addr[i].valid > now + 7200) != (iface->ia_addr[i].valid > now + 7200)) + (addr[i].valid > (uint32_t)now + 7200) != + (iface->ia_addr[i].valid > (uint32_t)now + 7200)) change = true; if (change) { |