Skip to content

Commit

Permalink
Fix build for an old version of HDF5.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Brankov committed Sep 15, 2015
1 parent c64f605 commit 291ff4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/raw/h5a_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ value hdf5_h5a_iterate(value obj_v, value idx_type_opt_v, value order_opt_v, val
n = Is_block(n_v) ? Int_val(Field(Field(n_v, 0), 0)) : 0;
exception = Val_unit;

ret = H5Aiterate(Hid_val(obj_v), H5_index_opt_val(idx_type_opt_v),
ret = H5Aiterate2(Hid_val(obj_v), H5_index_opt_val(idx_type_opt_v),
H5_iter_order_opt_val(order_opt_v), Is_block(n_v) ? &n : NULL, hdf5_h5a_operator,
&op);
if (Is_block(n_v))
Expand Down

0 comments on commit 291ff4c

Please sign in to comment.