summaryrefslogtreecommitdiffstats
path: root/src/H5Ofill.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-06-14 19:32:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-06-14 19:32:02 (GMT)
commitef01629bb29800c8837a261b85897570e4c092c1 (patch)
treed83127b519689f70929ac4feec2b3716d06addcd /src/H5Ofill.c
parentf5a192ff0d3d8f4279b356ff54b1a2e78e22c8ec (diff)
downloadhdf5-ef01629bb29800c8837a261b85897570e4c092c1.zip
hdf5-ef01629bb29800c8837a261b85897570e4c092c1.tar.gz
hdf5-ef01629bb29800c8837a261b85897570e4c092c1.tar.bz2
[svn-r8683] 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ofill.c b/src/H5Ofill.c
index 1870f85..ffe42a8 100644
--- a/src/H5Ofill.c
+++ b/src/H5Ofill.c
@@ -903,7 +903,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 */