summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-27 19:55:29 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-27 19:55:29 +0200
commit86514214e389f8b1ea3e5aecf9ae2e8d4d782798 (patch)
tree2e3dcc1c07eefbb1fe800c3efc186c87f9ac6302
parent52efd56a6369e19c2400a42981a197cd2eef924a (diff)
dhcp: fix n_ref type
Fixes fallout from 3733eec3e292e4ddb4cba5eb8d3bd8cbee7102d8.
-rw-r--r--src/libsystemd-network/dhcp-lease-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp-lease-internal.h b/src/libsystemd-network/dhcp-lease-internal.h
index 95c2375d48..c6b97ca8f7 100644
--- a/src/libsystemd-network/dhcp-lease-internal.h
+++ b/src/libsystemd-network/dhcp-lease-internal.h
@@ -47,7 +47,7 @@ struct sd_dhcp_raw_option {
};
struct sd_dhcp_lease {
- int n_ref;
+ unsigned n_ref;
/* each 0 if unset */
uint32_t t1;