Skip to content

Commit 57b8483

Browse files
authored
Merge pull request #141 from grero/idfix
Pass id rather than object as the 5th argument to h5d_read
2 parents 33123dc + 0654a12 commit 57b8483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MAT_HDF5.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ function read(obj::HDF5Dataset, ::Type{Array{Bool}})
632632
end
633633
# Use the low-level HDF5 API to put the data directly into a Bool array
634634
tf = Array{Bool}(undef, size(obj))
635-
HDF5.h5d_read(obj.id, HDF5.hdf5_type_id(UInt8), tf, obj.xfer)
635+
HDF5.h5d_read(obj.id, HDF5.hdf5_type_id(UInt8), tf, convert(HDF5.Hid, obj.xfer))
636636
return tf
637637
end
638638

0 commit comments

Comments
 (0)