summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_ref.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-10-11 04:42:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-10-11 04:42:22 (GMT)
commit4b3730011f553513fa93c3269171863cf825fd8c (patch)
tree4eaaa9da092793485dc7d71d2be2b463cc4a4a26 /tools/lib/h5tools_ref.c
parentec2c0bc6fe1f23815b8f56cd765aadc0b79fe5ec (diff)
downloadhdf5-4b3730011f553513fa93c3269171863cf825fd8c.zip
hdf5-4b3730011f553513fa93c3269171863cf825fd8c.tar.gz
hdf5-4b3730011f553513fa93c3269171863cf825fd8c.tar.bz2
[svn-r28029] Description:
Merge r27626 from trunk to branch. Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
Diffstat (limited to 'tools/lib/h5tools_ref.c')
-rw-r--r--tools/lib/h5tools_ref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools_ref.c b/tools/lib/h5tools_ref.c
index 0bb7d77..60666f1 100644
--- a/tools/lib/h5tools_ref.c
+++ b/tools/lib/h5tools_ref.c
@@ -218,7 +218,7 @@ ref_path_table_put(const char *path, haddr_t objno)
HDassert(ref_path_table);
HDassert(path);
- if((new_node = HDmalloc(sizeof(ref_path_node_t))) == NULL)
+ if((new_node = (ref_path_node_t *)HDmalloc(sizeof(ref_path_node_t))) == NULL)
return(-1);
new_node->objno = objno;
@@ -300,7 +300,7 @@ lookup_ref_path(haddr_t ref)
if(ref_path_table == NULL)
init_ref_path_table();
- node = H5SL_search(ref_path_table, &ref);
+ node = (ref_path_node_t *)H5SL_search(ref_path_table, &ref);
return(node ? node->path : NULL);
}