]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/cgroup-util.c
tree-wide: use UINT64_MAX or friends
[thirdparty/systemd.git] / src / basic / cgroup-util.c
index 3c59ca5e10607be3b0886cd247941dcab4b5d1ad..0ecb8d944e98ea133dd25cb47cce5a17ab6efda0 100644 (file)
@@ -1975,7 +1975,7 @@ int cg_kernel_controllers(Set **ret) {
                 return r;
 
         /* Ignore the header line */
-        (void) read_line(f, (size_t) -1, NULL);
+        (void) read_line(f, SIZE_MAX, NULL);
 
         for (;;) {
                 char *controller;