chiark / gitweb /
change type for address family to "int"
[elogind.git] / src / libsystemd-network / network-internal.c
index e209b0f56e6db0e72265dca7b0a64bd3606cadb6..3407537eb5824620ecf69b2c33ee51da2e945a44 100644 (file)
@@ -304,7 +304,7 @@ int config_parse_hwaddr(const char *unit,
         return 0;
 }
 
-int net_parse_inaddr(const char *address, unsigned char *family, void *dst) {
+int net_parse_inaddr(const char *address, int *family, void *dst) {
         int r;
 
         assert(address);