]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/import/export-raw.c
tree-wide: use UINT64_MAX or friends
[thirdparty/systemd.git] / src / import / export-raw.c
index 3e0348f4c160f074cc9328e4ee70378863438228..d42c56172fdde8d9a12645bc37c08401f36900a3 100644 (file)
@@ -95,7 +95,7 @@ int raw_export_new(
                 .input_fd = -1,
                 .on_finished = on_finished,
                 .userdata = userdata,
-                .last_percent = (unsigned) -1,
+                .last_percent = UINT_MAX,
                 .progress_ratelimit = { 100 * USEC_PER_MSEC, 1 },
         };