diff options
author | kmu <kmu@jelly.ad.hdfgroup.org> | 2019-11-07 20:34:13 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:23 (GMT) |
commit | 6725222332ded4dd7324f61a73299d889a4ae571 (patch) | |
tree | 3092f832d185062f062347b172104ad0b95b17cf /tools/test/h5dump/dynlib_dump.c | |
parent | d1d4635550d989a887db98791213c455894b48eb (diff) | |
download | hdf5-6725222332ded4dd7324f61a73299d889a4ae571.zip hdf5-6725222332ded4dd7324f61a73299d889a4ae571.tar.gz hdf5-6725222332ded4dd7324f61a73299d889a4ae571.tar.bz2 |
fix warnings from Intel compiler
Diffstat (limited to 'tools/test/h5dump/dynlib_dump.c')
-rw-r--r-- | tools/test/h5dump/dynlib_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5dump/dynlib_dump.c b/tools/test/h5dump/dynlib_dump.c index 571452e..4f2d435 100644 --- a/tools/test/h5dump/dynlib_dump.c +++ b/tools/test/h5dump/dynlib_dump.c @@ -69,7 +69,7 @@ H5Z_filter_dynlibud(unsigned int flags, size_t cd_nelmts, /* Subtract the original value with MULTIPLIER */ while(buf_left > 0) { char temp = *int_ptr; - *int_ptr = temp - MULTIPLIER; + *int_ptr = (char)(temp - MULTIPLIER); int_ptr++; buf_left -= sizeof(*int_ptr); } /* end while */ @@ -78,7 +78,7 @@ H5Z_filter_dynlibud(unsigned int flags, size_t cd_nelmts, /* Add the original value with MULTIPLIER */ while(buf_left > 0) { char temp = *int_ptr; - *int_ptr = temp + MULTIPLIER; + *int_ptr = (char)(temp + MULTIPLIER); int_ptr++; buf_left -= sizeof(*int_ptr); } /* end while */ |