]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/cryptsetup/cryptsetup.c
tree-wide: use UINT64_MAX or friends
[thirdparty/systemd.git] / src / cryptsetup / cryptsetup.c
index 00de920d091f9c300555e43d7b1f8f58f72f9726..dba26a54a3f15faa45c1d82e557bb31f5e52088b 100644 (file)
@@ -320,7 +320,7 @@ static int parse_one_option(const char *option) {
                         _cleanup_free_ void *cid = NULL;
                         size_t cid_size;
 
-                        r = unbase64mem(val, (size_t) -1, &cid, &cid_size);
+                        r = unbase64mem(val, SIZE_MAX, &cid, &cid_size);
                         if (r < 0)
                                 return log_error_errno(r, "Failed to decode FIDO2 CID data: %m");