summaryrefslogtreecommitdiffstats
path: root/tools/h5copy
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2014-10-31 18:11:42 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2014-10-31 18:11:42 (GMT)
commit81f7e6b1d3d1e1b4ef70c520e8296645b63923ba (patch)
tree2e02c30109f8ded232d917c5db7260eb4cd4e934 /tools/h5copy
parent6735f59f7d65a3d2d1821c5217fb3f9612cfed49 (diff)
downloadhdf5-81f7e6b1d3d1e1b4ef70c520e8296645b63923ba.zip
hdf5-81f7e6b1d3d1e1b4ef70c520e8296645b63923ba.tar.gz
hdf5-81f7e6b1d3d1e1b4ef70c520e8296645b63923ba.tar.bz2
[svn-r25755] Removed spurious casts in a few HDfree() statements.
Discovered when I temporarily #defined HDfree() to a more complicated function while investigating something. Tested on a local linux VM. This is a very minor change.
Diffstat (limited to 'tools/h5copy')
-rw-r--r--tools/h5copy/h5copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5copy/h5copy.c b/tools/h5copy/h5copy.c
index b5965ba..278cd3e 100644
--- a/tools/h5copy/h5copy.c
+++ b/tools/h5copy/h5copy.c
@@ -475,7 +475,7 @@ main (int argc, const char *argv[])
/* free link info path */
if (linkinfo.trg_path)
- HDfree((char*)linkinfo.trg_path);
+ HDfree(linkinfo.trg_path);
/* close propertis */
if(H5Pclose(ocpl_id)<0)
@@ -496,7 +496,7 @@ error:
/* free link info path */
if (linkinfo.trg_path)
- HDfree((char*)linkinfo.trg_path);
+ HDfree(linkinfo.trg_path);
H5E_BEGIN_TRY {
H5Pclose(ocpl_id);