summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-07-30 02:55:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-07-30 02:55:33 (GMT)
commit238950487f6348544b64fda3143479c6ab589fde (patch)
treee2985b88137935511547333d9a9c2c25d74c57e5 /hl
parent7c22743e8eaa5e5d2ffc8b0db7518ed6c5be40ee (diff)
downloadhdf5-238950487f6348544b64fda3143479c6ab589fde.zip
hdf5-238950487f6348544b64fda3143479c6ab589fde.tar.gz
hdf5-238950487f6348544b64fda3143479c6ab589fde.tar.bz2
[svn-r17270] Description:
Bring r17265:17269 from trunk to revise_chunks branch Tested on FreeBSD/32 6.3 (duty) (h5committest not required on this branch)
Diffstat (limited to 'hl')
-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 9efa95e..8e697f1 100644
--- a/hl/src/H5DS.c
+++ b/hl/src/H5DS.c
@@ -1626,7 +1626,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])
- free(buf[idx]);
+ free((void *)buf[idx]);
/* store the label information in the required index */
buf[idx] = label;
@@ -1642,7 +1642,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])
- free(buf[i]);
+ free((void *)buf[i]);
}
/* close */
@@ -1669,7 +1669,7 @@ out:
for (i = 0; i < (unsigned int) rank; i++)
{
if (buf[i])
- free(buf[i]);
+ free((void *)buf[i]);
}
free(buf);
}