From 0dd25fb9f005d8ab7ac4bc10a609d00569f8c56a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 18 Jul 2014 16:09:30 +0200 Subject: change type for address family to "int" Let's settle on a single type for all address family values, even if UNIX is very inconsitent on the precise type otherwise. Given that socket() is the primary entrypoint for the sockets API, and that uses "int", and "int" is relatively simple and generic, we settle on "int" for this. --- src/network/networkd-address-pool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/networkd-address-pool.c') diff --git a/src/network/networkd-address-pool.c b/src/network/networkd-address-pool.c index a5079add02..8abf82e18c 100644 --- a/src/network/networkd-address-pool.c +++ b/src/network/networkd-address-pool.c @@ -26,7 +26,7 @@ int address_pool_new( Manager *m, AddressPool **ret, - unsigned family, + int family, const union in_addr_union *u, unsigned prefixlen) { @@ -54,7 +54,7 @@ int address_pool_new( int address_pool_new_from_string( Manager *m, AddressPool **ret, - unsigned family, + int family, const char *p, unsigned prefixlen) { -- cgit v1.2.3-54-g00ecf