summaryrefslogtreecommitdiffstats
path: root/hl/src
diff options
context:
space:
mode:
Diffstat (limited to 'hl/src')
-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);
}