chiark / gitweb /
change type for address family to "int"
[elogind.git] / src / network / networkd-address-pool.c
index a5079add0249f095098c7b027eccb1c07bf8e1dd..8abf82e18cbff761e141dd5d00f50c3a4f5ff44c 100644 (file)
@@ -26,7 +26,7 @@
 int address_pool_new(
                 Manager *m,
                 AddressPool **ret,
 int address_pool_new(
                 Manager *m,
                 AddressPool **ret,
-                unsigned family,
+                int family,
                 const union in_addr_union *u,
                 unsigned prefixlen) {
 
                 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,
 int address_pool_new_from_string(
                 Manager *m,
                 AddressPool **ret,
-                unsigned family,
+                int family,
                 const char *p,
                 unsigned prefixlen) {
 
                 const char *p,
                 unsigned prefixlen) {