This commit is contained in:
Richard Feldman 2023-09-11 15:06:40 -04:00
parent d262911a04
commit 783eb9380f
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

View file

@ -124,7 +124,7 @@ impl<'a> Src64<'a> {
return Err(FileErr::FileWasEmpty);
}
let capacity = round_up_to_nearest_64(file_size as usize);
let capacity = round_up_to_nearest_64(file_size);
// Safety: round_up_to_nearest_u64 will give us a capacity that is
// at least 64, and also a multiple of 64.