summaryrefslogtreecommitdiffstats
path: root/hl/src/H5DS.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-07-30 01:59:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-07-30 01:59:24 (GMT)
commite99906f5175e1516a9f28b3acbcffd962637ca89 (patch)
tree71119df458d9eebee588761243ba6d5205ee816d /hl/src/H5DS.c
parent0836a8cf5652392f59d3917446a7ca2af9234e09 (diff)
downloadhdf5-e99906f5175e1516a9f28b3acbcffd962637ca89.zip
hdf5-e99906f5175e1516a9f28b3acbcffd962637ca89.tar.gz
hdf5-e99906f5175e1516a9f28b3acbcffd962637ca89.tar.bz2
[svn-r17268] Description:
Bring r17266 from 1.8 branch to trunk: Clean up various compiler warnings from IRIX64 build Tested on: Mac OS X/32 (amazon) debug & production (yes, I know it's not an IRIX64 system :-) Too minor to require h5committest
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 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);
}