]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: use UINT32_C() macro
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 17 May 2021 10:33:02 +0000 (19:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 18 May 2021 11:20:24 +0000 (20:20 +0900)
src/network/networkd-address-label.c

index 7b7b72469e7456bfc8600e56c5eb62828f5cb310..9c9d28386881d2cd29ef01bd11c14386aba15002 100644 (file)
@@ -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;
         }