]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/test-journal-config.c
tree-wide: use UINT64_MAX or friends
[thirdparty/systemd.git] / src / journal / test-journal-config.c
index 1482490411eed1ad0fe1405f4e4a474d46e6b51e..bd0de9600a91fde39399611a666417c96b582958 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 
 #include <stdbool.h>
 
@@ -43,7 +43,7 @@ static void test_config_compress(void) {
         /* Invalid Case */
         COMPRESS_PARSE_CHECK("-1", true, 111);
         COMPRESS_PARSE_CHECK("blah blah", true, 111);
-        COMPRESS_PARSE_CHECK("", true, (uint64_t)-1);
+        COMPRESS_PARSE_CHECK("", true, UINT64_MAX);
 }
 
 int main(int argc, char *argv[]) {