diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-01 20:03:10 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-01 20:03:10 (GMT) |
commit | 5ccfe5a72453299c4995b3faaaab1e35c975fde3 (patch) | |
tree | 6b301625e9865965f19572e91a0dc0b029a9cadd /src/H5Zszip.c | |
parent | 700a3f0b3cc3d053d3245d5f16066817eee99ab5 (diff) | |
download | hdf5-5ccfe5a72453299c4995b3faaaab1e35c975fde3.zip hdf5-5ccfe5a72453299c4995b3faaaab1e35c975fde3.tar.gz hdf5-5ccfe5a72453299c4995b3faaaab1e35c975fde3.tar.bz2 |
[svn-r8783] Purpose:
Code cleanup
Description:
Clean up almost all warnings from Windows builds.
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel
Too minor to require h5committest
Diffstat (limited to 'src/H5Zszip.c')
-rw-r--r-- | src/H5Zszip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Zszip.c b/src/H5Zszip.c index 7df0be2..449d832 100644 --- a/src/H5Zszip.c +++ b/src/H5Zszip.c @@ -184,7 +184,8 @@ H5Z_set_local_szip(hid_t dcpl_id, hid_t type_id, hid_t space_id) /* Set "local" parameter for this dataset's "pixels-per-scanline" */ /* (Use the chunk's fastest changing dimension size) */ - cd_values[H5Z_SZIP_PARM_PPS]=dims[ndims-1]; + assert(ndims>0); + H5_ASSIGN_OVERFLOW(cd_values[H5Z_SZIP_PARM_PPS],dims[ndims-1],hsize_t,unsigned); /* Get datatype's endianness order */ if((dtype_order=H5Tget_order(type_id))==H5T_ORDER_ERROR) |