summaryrefslogtreecommitdiffstats
path: root/src/H5FLprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-22 15:08:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-22 15:08:08 (GMT)
commit20a020a1c7bccce730be91118b3366b7cabe95fc (patch)
tree06fa333d2885b4d0b1859b8db2ca5215582cd5df /src/H5FLprivate.h
parentd4265f783cc20f77b2cef80b40089a3f183b17bd (diff)
downloadhdf5-20a020a1c7bccce730be91118b3366b7cabe95fc.zip
hdf5-20a020a1c7bccce730be91118b3366b7cabe95fc.tar.gz
hdf5-20a020a1c7bccce730be91118b3366b7cabe95fc.tar.bz2
[svn-r18612] Description:
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 ea2ec55..e270068 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 */