Skip to content

Commit

Permalink
use ReturnCode instead of integer
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Nov 6, 2024
1 parent 03f9384 commit f1e8737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bzlib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ pub unsafe extern "C" fn BZ2_bzCompressEnd(strm: *mut bz_stream) -> c_int {
(bzfree)(strm.opaque, strm.state);
strm.state = std::ptr::null_mut::<libc::c_void>();

0 as libc::c_int
ReturnCode::BZ_OK as c_int
}

#[repr(u8)]
Expand Down

0 comments on commit f1e8737

Please sign in to comment.