summaryrefslogtreecommitdiffstats
path: root/src/H5FLprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-22 15:14:07 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-22 15:14:07 (GMT)
commit8881ff748cc1cc6055f9e89f4a27c2c7883a5dfa (patch)
treeeff4f9ff58e9b2627fd7b2104649162ef580e658 /src/H5FLprivate.h
parent030c18281c188191df04d2d17013decdc7a59e6f (diff)
downloadhdf5-8881ff748cc1cc6055f9e89f4a27c2c7883a5dfa.zip
hdf5-8881ff748cc1cc6055f9e89f4a27c2c7883a5dfa.tar.gz
hdf5-8881ff748cc1cc6055f9e89f4a27c2c7883a5dfa.tar.bz2
[svn-r18613] Description:
Bring r18612 from trunk to 1.8 branch: Clean up compiler warnings & code formatting Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (too minor to require h5committest)
Diffstat (limited to 'src/H5FLprivate.h')
-rw-r--r--src/H5FLprivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FLprivate.h b/src/H5FLprivate.h
index cd7e31d..160213e 100644
--- a/src/H5FLprivate.h
+++ b/src/H5FLprivate.h
@@ -145,7 +145,7 @@ typedef struct H5FL_reg_head_t {
#define H5FL_DEFINE_STATIC(t) static H5FL_DEFINE_COMMON(t)
#define H5FL_MALLOC(t) (t *)H5MM_malloc(sizeof(t))
#define H5FL_CALLOC(t) (t *)H5MM_calloc(sizeof(t))
-#define H5FL_FREE(t,obj) H5MM_xfree(obj)
+#define H5FL_FREE(t,obj) (t *)H5MM_xfree(obj)
#endif /* H5_NO_REG_FREE_LISTS */
/* Data structure to store information about each block allocated */
@@ -215,7 +215,7 @@ typedef struct H5FL_blk_head_t {
#define H5FL_BLK_DEFINE_STATIC(t) static H5FL_BLK_DEFINE_COMMON(t)
#define H5FL_BLK_MALLOC(t,size) (uint8_t *)H5MM_malloc(size)
#define H5FL_BLK_CALLOC(t,size) (uint8_t *)H5MM_calloc(size)
-#define H5FL_BLK_FREE(t,blk) H5MM_xfree(blk)
+#define H5FL_BLK_FREE(t,blk) (uint8_t *)H5MM_xfree(blk)
#define H5FL_BLK_REALLOC(t,blk,new_size) (uint8_t *)H5MM_realloc(blk,new_size)
#define H5FL_BLK_AVAIL(t,size) (FALSE)
#endif /* H5_NO_BLK_FREE_LISTS */