summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-address-label.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-17 12:33:02 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-18 13:20:24 +0200
commit99b5f4f7b850d54647c464063830ef8f28740c06 (patch)
tree35b856ab190319cbfc8d3d842c50b4ac02b20c6d /src/network/networkd-address-label.c
parentnetwork: introduce address_set_broadcast() (diff)
downloadsystemd-99b5f4f7b850d54647c464063830ef8f28740c06.tar.xz
systemd-99b5f4f7b850d54647c464063830ef8f28740c06.zip
network: use UINT32_C() macro
Diffstat (limited to 'src/network/networkd-address-label.c')
-rw-r--r--src/network/networkd-address-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-address-label.c b/src/network/networkd-address-label.c
index 7b7b72469e..9c9d283868 100644
--- a/src/network/networkd-address-label.c
+++ b/src/network/networkd-address-label.c
@@ -225,7 +225,7 @@ int config_parse_address_label(
return 0;
}
- if (k == 0xffffffffUL) {
+ if (k == UINT32_C(0xffffffff)) {
log_syntax(unit, LOG_WARNING, filename, line, 0, "Address label is invalid, ignoring: %s", rvalue);
return 0;
}