diff options
author | Kimmy Mu <kmu@hdfgroup.org> | 2020-01-24 01:42:50 (GMT) |
---|---|---|
committer | Kimmy Mu <kmu@hdfgroup.org> | 2020-01-24 01:42:50 (GMT) |
commit | d038d8510032696e4defd86f1906e7d4fa133ba9 (patch) | |
tree | a77fdb4be46d9c9c8d4d592088583e490abc561c /tools/test/h5diff | |
parent | 037a883bd4d58061e11183b1d67d7f0cc17ddd99 (diff) | |
parent | 48cc850199901c5b67a40183262f4ead975b884f (diff) | |
download | hdf5-d038d8510032696e4defd86f1906e7d4fa133ba9.zip hdf5-d038d8510032696e4defd86f1906e7d4fa133ba9.tar.gz hdf5-d038d8510032696e4defd86f1906e7d4fa133ba9.tar.bz2 |
Merge pull request #2238 in HDFFV/hdf5 from ~KMU/hdf5:hdf5_1_12 to hdf5_1_12
* commit '48cc850199901c5b67a40183262f4ead975b884f':
fix test assert fail error
Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
Merge pull request #2234 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
Diffstat (limited to 'tools/test/h5diff')
-rw-r--r-- | tools/test/h5diff/dynlib_diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5diff/dynlib_diff.c b/tools/test/h5diff/dynlib_diff.c index 571452e..661a6dc 100644 --- a/tools/test/h5diff/dynlib_diff.c +++ b/tools/test/h5diff/dynlib_diff.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 = (int8_t)(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 = (int8_t)(temp + MULTIPLIER); int_ptr++; buf_left -= sizeof(*int_ptr); } /* end while */ |