summaryrefslogtreecommitdiffstats
path: root/hl/src/H5DS.c
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 /hl/src/H5DS.c
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 'hl/src/H5DS.c')
-rw-r--r--hl/src/H5DS.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/src/H5DS.c b/hl/src/H5DS.c
index 66684d6..f4b754a 100644
--- a/hl/src/H5DS.c
+++ b/hl/src/H5DS.c
@@ -1549,7 +1549,7 @@ herr_t H5DSset_label(hid_t did, unsigned int idx, const char *label)
/* free the ptr that will be replaced by label */
if (buf[idx])
- HDfree((void *)buf[idx]);
+ HDfree(buf[idx]);
/* store the label information in the required index */
buf[idx] = label;
@@ -1565,7 +1565,7 @@ herr_t H5DSset_label(hid_t did, unsigned int idx, const char *label)
for (i = 0; i < (unsigned int) rank; i++)
{
if (buf[i])
- HDfree((void *)buf[i]);
+ HDfree(buf[i]);
}
/* close */
@@ -1592,7 +1592,7 @@ out:
for (i = 0; i < (unsigned int) rank; i++)
{
if (buf[i])
- HDfree((void *)buf[i]);
+ HDfree(buf[i]);
}
HDfree(buf);
}