Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some unnecessary converts #547

Merged
merged 5 commits into from
Apr 23, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update HDF5.jl
musm authored Apr 23, 2019
commit a9bbef6b248c15a977d9b7b60858b3d36cd32362
6 changes: 3 additions & 3 deletions src/HDF5.jl
Original file line number Diff line number Diff line change
@@ -1602,9 +1602,9 @@ function readmmap(obj::HDF5Dataset, ::Type{Array{T}}) where {T}
local fdint
prop = h5d_get_access_plist(checkvalid(obj).id)
try
ret = Ref{Ptr{Cint}}()
h5f_get_vfd_handle(obj.file.id, prop, ret)
fdint = unsafe_load(ret[])
ret = Ref{Ptr{Cint}}()
h5f_get_vfd_handle(obj.file.id, prop, ret)
fdint = unsafe_load(ret[])
finally
HDF5.h5p_close(prop)
end