Skip to content

Commit 936f1f4

Browse files
committed
Fix 1.14 function diff
1 parent 84fa692 commit 936f1f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/hl/chunks.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub(crate) fn get_num_chunks(ds: &Dataset) -> Option<usize> {
6565
}))
6666
}
6767

68-
#[cfg(feature = "1.13.0")]
68+
#[cfg(feature = "1.14.0")]
6969
mod one_thirteen {
7070
use super::*;
7171
use hdf5_sys::h5d::H5Dchunk_iter;
@@ -103,7 +103,8 @@ mod one_thirteen {
103103
}
104104

105105
extern "C" fn chunks_callback<F>(
106-
offset: *const hsize_t, filter_mask: u32, addr: haddr_t, nbytes: u32, op_data: *mut c_void,
106+
offset: *const hsize_t, filter_mask: c_unsiged, addr: haddr_t, size: hsize_t,
107+
op_data: *mut c_void,
107108
) -> herr_t
108109
where
109110
F: FnMut(ChunkInfoBorrowed) -> i32,

0 commit comments

Comments
 (0)