summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-16 22:53:56 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-16 22:53:56 (GMT)
commit84bf19bec42e2c53114727df2e239aa3fecb1071 (patch)
treea16377205eda598abfc6d37b2a68113dd8060816 /src/H5T.c
parent775bd09974b4681672bce3c1a10948bad5d482da (diff)
downloadhdf5-84bf19bec42e2c53114727df2e239aa3fecb1071.zip
hdf5-84bf19bec42e2c53114727df2e239aa3fecb1071.tar.gz
hdf5-84bf19bec42e2c53114727df2e239aa3fecb1071.tar.bz2
[svn-r12767] Description:
Code cleanup to improve formatting & reduce compiler warnings. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5T.c b/src/H5T.c
index aebeb57..4782b37 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -2854,7 +2854,7 @@ H5T_encode(H5T_t *obj, unsigned char *buf, size_t *nalloc)
FUNC_ENTER_NOAPI(H5T_encode, FAIL)
/* Allocate "fake" file structure */
- if(NULL == (f = H5F_fake_alloc(0)))
+ if(NULL == (f = H5F_fake_alloc((size_t)0)))
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTALLOC, FAIL, "can't allocate fake file struct")
/* Find out the size of buffer needed */
@@ -2910,7 +2910,7 @@ H5T_decode(const unsigned char *buf)
FUNC_ENTER_NOAPI(H5T_decode, NULL)
/* Allocate "fake" file structure */
- if(NULL == (f = H5F_fake_alloc(0)))
+ if(NULL == (f = H5F_fake_alloc((size_t)0)))
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTALLOC, NULL, "can't allocate fake file struct")
/* Decode the type of the information */