summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-23 18:11:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-23 18:11:37 (GMT)
commit55f2a52191fcbf38d67b698f90e2c876f1b39d02 (patch)
tree9d1d85c6480a548c5ae2ff1046f3a57fd1222352 /src/H5Dchunk.c
parent40c757d48b5fcdf0c217ae6392fb111b1a4acc91 (diff)
downloadhdf5-55f2a52191fcbf38d67b698f90e2c876f1b39d02.zip
hdf5-55f2a52191fcbf38d67b698f90e2c876f1b39d02.tar.gz
hdf5-55f2a52191fcbf38d67b698f90e2c876f1b39d02.tar.bz2
[svn-r18622] Description:
Bring r18621 from trunk to 1.8 branch: Clean up compiler warnings. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (too minor to require h5committest)
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r--src/H5Dchunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index ce7deb5..aa7b8dc 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -405,7 +405,7 @@ H5D_chunk_construct(H5F_t UNUSED *f, H5D_t *dset)
HGOTO_ERROR(H5E_DATASET, H5E_BADVALUE, FAIL, "external storage not supported with chunked layout")
/* Set the last dimension of the chunk size to the size of the datatype */
- dset->shared->layout.u.chunk.dim[dset->shared->layout.u.chunk.ndims - 1] = H5T_GET_SIZE(type);
+ dset->shared->layout.u.chunk.dim[dset->shared->layout.u.chunk.ndims - 1] = (uint32_t)H5T_GET_SIZE(type);
/* Get local copy of dataset dimensions (for sanity checking) */
if(H5S_get_simple_extent_dims(dset->shared->space, NULL, max_dim) < 0)