diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-06-14 19:33:08 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-06-14 19:33:08 (GMT) |
commit | ffbd43d88b496f1ee745aaeb5fd6d2117f510b82 (patch) | |
tree | c2c273eff29abf9a62be4ba9ceb48cedfa053719 /src/H5Ofill.c | |
parent | 3247aa351eb300b408e64be3a0b81910374d1327 (diff) | |
download | hdf5-ffbd43d88b496f1ee745aaeb5fd6d2117f510b82.zip hdf5-ffbd43d88b496f1ee745aaeb5fd6d2117f510b82.tar.gz hdf5-ffbd43d88b496f1ee745aaeb5fd6d2117f510b82.tar.bz2 |
[svn-r8684] Purpose:
Code optimization
Description:
Use 'size_t' instead of 'hsize_t' to track the number of elements in
memory buffers, especially for type conversion.
Platforms tested:
Solaris 2.7 (arabica)
FreeBSD 4.10 (sleipnir) w/parallel
Too minor to require h5committest
Diffstat (limited to 'src/H5Ofill.c')
-rw-r--r-- | src/H5Ofill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ofill.c b/src/H5Ofill.c index b0716f6..d7f338b 100644 --- a/src/H5Ofill.c +++ b/src/H5Ofill.c @@ -902,7 +902,7 @@ H5O_fill_convert(void *_fill, H5T_t *dset_type, hid_t dxpl_id) HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "memory allocation failed for type conversion"); /* Do the conversion */ - if (H5T_convert(tpath, src_id, dst_id, (hsize_t)1, 0, 0, buf, bkg, dxpl_id)<0) + if (H5T_convert(tpath, src_id, dst_id, 1, 0, 0, buf, bkg, dxpl_id)<0) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "data type conversion failed"); /* Update the fill message */ |