summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-23 17:23:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-23 17:23:12 (GMT)
commit43448681d8431f45bd48c4b2c183e5b21030ab8d (patch)
tree15e1ecdbfdecf1996338555189a3579021e4f4ef /src/H5Dchunk.c
parentd94581e19b6029d7839e41f882b6b453a87e249e (diff)
downloadhdf5-43448681d8431f45bd48c4b2c183e5b21030ab8d.zip
hdf5-43448681d8431f45bd48c4b2c183e5b21030ab8d.tar.gz
hdf5-43448681d8431f45bd48c4b2c183e5b21030ab8d.tar.bz2
[svn-r18621] Description:
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)