summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-01-18 13:17:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-01-18 13:17:33 (GMT)
commit04f2fe8ff8ca098a88d769deaa5b663a629ddecc (patch)
tree2bf5d9a5734c1aa7f9bd7bd414e5e0c5411bc8fd /src/H5Tconv.c
parent628c3cd5040ba5df24f945494ea5c9ac81bd7692 (diff)
downloadhdf5-04f2fe8ff8ca098a88d769deaa5b663a629ddecc.zip
hdf5-04f2fe8ff8ca098a88d769deaa5b663a629ddecc.tar.gz
hdf5-04f2fe8ff8ca098a88d769deaa5b663a629ddecc.tar.bz2
[svn-r6301] Purpose:
Code cleanup & bug fix Description: Cleanup another set of warnings on Windows and also fix mis-placed assertion that caused the daily tests to fail. Platforms tested: IRIX64 6.5 (modi4) w/-n32
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r--src/H5Tconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index affa795..b855d88 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -2274,7 +2274,7 @@ H5T_conv_vlen(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, hsize_t nelmts,
if(bg_seq_len>0) {
H5_CHECK_OVERFLOW( bg_seq_len*MAX(src_base_size,dst_base_size) ,hsize_t,size_t);
if(tmp_buf_size<(size_t)(bg_seq_len*MAX(src_base_size, dst_base_size))) {
- tmp_buf_size=bg_seq_len*MAX(src_base_size, dst_base_size);
+ tmp_buf_size=(size_t)(bg_seq_len*MAX(src_base_size, dst_base_size));
if((tmp_buf=H5FL_BLK_REALLOC(vlen_seq,tmp_buf, tmp_buf_size))==NULL)
HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, FAIL, "memory allocation failed for type conversion");
}