From 90b94c00fecc7f9ce603d868d4adfa5bc5a05831 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Sun, 18 May 2008 23:47:38 -0500 Subject: [svn-r15035] Description: Backport revision 15034 from trunk: Correct another case of using 'size_t' for chunk sizes where 'uint32_t' was necessary. Tested on: FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN --- src/H5Z.c | 6 +++--- src/H5Znbit.c | 3 ++- test/dsets.c | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/H5Z.c b/src/H5Z.c index de26831..cbd2f3e 100644 --- a/src/H5Z.c +++ b/src/H5Z.c @@ -499,7 +499,7 @@ H5Z_prelude_callback(hid_t dcpl_id, hid_t type_id, H5Z_prelude_type_t prelude_ty /* Check if the chunks have filters */ if(dcpl_pline.nused > 0) { unsigned chunk_ndims; /* # of chunk dimensions */ - size_t chunk_size[H5O_LAYOUT_NDIMS]; /* Size of chunk dimensions */ + uint32_t chunk_size[H5O_LAYOUT_NDIMS]; /* Size of chunk dimensions */ hsize_t chunk_dims[H5O_LAYOUT_NDIMS]; /* Size of chunk dimensions */ H5S_t *space; /* Dataspace describing chunk */ hid_t space_id; /* ID for dataspace describing chunk */ @@ -512,8 +512,8 @@ H5Z_prelude_callback(hid_t dcpl_id, hid_t type_id, H5Z_prelude_type_t prelude_ty HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't retrieve chunk size") /* Create a data space for a chunk & set the extent */ - for(u=0; u