diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-19 17:35:45 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-19 17:35:45 (GMT) |
commit | 7c8d70200303e03fea24a61707658392eb450911 (patch) | |
tree | 5f2ebc064cc2af00a409074e8600ec7f5937c398 /src/H5Zdeflate.c | |
parent | fbc0f37dc5c5fd86e825dc436b56fda23a2e7ea7 (diff) | |
download | hdf5-7c8d70200303e03fea24a61707658392eb450911.zip hdf5-7c8d70200303e03fea24a61707658392eb450911.tar.gz hdf5-7c8d70200303e03fea24a61707658392eb450911.tar.bz2 |
[svn-r4018] Purpose:
Code cleanup
Description:
Removed some more warnings during compilation on SGI machines..
Platforms tested:
Irix64-6.5 (modi4)
Diffstat (limited to 'src/H5Zdeflate.c')
-rw-r--r-- | src/H5Zdeflate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Zdeflate.c b/src/H5Zdeflate.c index 66d29a8..753cc9e 100644 --- a/src/H5Zdeflate.c +++ b/src/H5Zdeflate.c @@ -78,9 +78,9 @@ H5Z_filter_deflate (unsigned UNUSED flags, size_t cd_nelmts, } HDmemset(&z_strm, 0, sizeof(z_strm)); z_strm.next_in = *buf; - z_strm.avail_in = nbytes; + z_strm.avail_in = (uInt)nbytes; z_strm.next_out = outbuf; - z_strm.avail_out = nalloc; + z_strm.avail_out = (uInt)nalloc; if (Z_OK!=inflateInit(&z_strm)) { HGOTO_ERROR(H5E_PLINE, H5E_CANTINIT, 0, "inflateInit() failed"); } @@ -100,7 +100,7 @@ H5Z_filter_deflate (unsigned UNUSED flags, size_t cd_nelmts, "uncompression"); } z_strm.next_out = (unsigned char*)outbuf + z_strm.total_out; - z_strm.avail_out = nalloc - z_strm.total_out; + z_strm.avail_out = (uInt)(nalloc - z_strm.total_out); } } |