Skip to content

Commit d9b8d2d

Browse files
committed
fix compile
1 parent 0c44456 commit d9b8d2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/storage/archive_index.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub(crate) fn create<R: io::Read + io::Seek, P: AsRef<Path>>(
6464
for i in 0..archive.len() {
6565
let zf = archive.by_index(i)?;
6666

67-
let compression_bzip: i32 = CompressionAlgorithm::Bzip2.into();
67+
let compression_bzip = CompressionAlgorithm::Bzip2 as i32;
6868

6969
conn.execute(
7070
"INSERT INTO files (path, start, end, compression) VALUES (?, ?, ?, ?)",

0 commit comments

Comments
 (0)