diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-07-09 17:12:38 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-07-09 17:12:38 (GMT) |
commit | 6d637e03f7da0c1391d5924e6208887b83297cd1 (patch) | |
tree | 0812a7a3ce56a841d52ac70fc51b1ba1dbb53a15 | |
parent | 382976f3e9822b3e003cc7a1b090bb3698850bd6 (diff) | |
download | hdf5-6d637e03f7da0c1391d5924e6208887b83297cd1.zip hdf5-6d637e03f7da0c1391d5924e6208887b83297cd1.tar.gz hdf5-6d637e03f7da0c1391d5924e6208887b83297cd1.tar.bz2 |
[svn-r25399] bug fixes where a wrong type was used instead of hid_t.
-rw-r--r-- | hl/test/test_ds.c | 4 | ||||
-rw-r--r-- | src/H5Lpublic.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/hl/test/test_ds.c b/hl/test/test_ds.c index 57a2b89..77d2b71 100644 --- a/hl/test/test_ds.c +++ b/hl/test/test_ds.c @@ -29,8 +29,8 @@ static herr_t op_continue(hid_t did, unsigned dim, hid_t dsid, void *visitor_dat static herr_t op_stop(hid_t did, unsigned dim, hid_t dsid, void *visitor_data); /* prototypes */ -static int create_test_file(const char *fileext); -static int open_test_file(const char *fileext); +static hid_t create_test_file(const char *fileext); +static hid_t open_test_file(const char *fileext); herr_t create_char_dataset(hid_t fid, const char *dsidx, int fulldims); herr_t create_short_dataset(hid_t fid, const char *dsidx, int fulldims); herr_t create_int_dataset(hid_t fid, const char *dsidx, int fulldims); diff --git a/src/H5Lpublic.h b/src/H5Lpublic.h index 620d2e9..20b57e5 100644 --- a/src/H5Lpublic.h +++ b/src/H5Lpublic.h @@ -101,7 +101,7 @@ typedef herr_t (*H5L_copy_func_t)(const char *new_name, hid_t new_loc, const void *lnkdata, size_t lnkdata_size); /* Callback during link traversal */ -typedef herr_t (*H5L_traverse_func_t)(const char *link_name, hid_t cur_group, +typedef hid_t (*H5L_traverse_func_t)(const char *link_name, hid_t cur_group, const void *lnkdata, size_t lnkdata_size, hid_t lapl_id); /* Callback for when the link is deleted */ |