proxmox-backup/src/tape/file_formats
Fabian Grünbichler 0a7f902e2a tape: multi-volume: fix overflow check
the part number cannot go above 255 at the moment, but if it ever gets
bumped to a bigger integer type this boundary wouldn't cause a
compile-error. explicitly checking for overflowing u8 makes this a bit
more future-proof, and shuts up clippy as well ;)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-12-30 13:55:33 +01:00
..
catalog_archive.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
chunk_archive.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
mod.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
multi_volume_reader.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
multi_volume_writer.rs tape: multi-volume: fix overflow check 2021-12-30 13:55:33 +01:00
snapshot_archive.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00