diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-26 23:24:48 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:24 (GMT) |
commit | fb8f955a73a41de8fa457424c4622f6dc072f53d (patch) | |
tree | d5211375925133398e500dc157819b289b737566 /tools/src/h5import | |
parent | 3e4a99d17dcf2ed3df324513114fed58fe9272c6 (diff) | |
download | hdf5-fb8f955a73a41de8fa457424c4622f6dc072f53d.zip hdf5-fb8f955a73a41de8fa457424c4622f6dc072f53d.tar.gz hdf5-fb8f955a73a41de8fa457424c4622f6dc072f53d.tar.bz2 |
Revert "fix warnings from Intel compiler"
This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
Diffstat (limited to 'tools/src/h5import')
-rw-r--r-- | tools/src/h5import/h5import.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5import/h5import.c b/tools/src/h5import/h5import.c index 40b812f..1eef5ab 100644 --- a/tools/src/h5import/h5import.c +++ b/tools/src/h5import/h5import.c @@ -4709,12 +4709,12 @@ static int process(struct Options *opt) uint16_t swap_uint16( uint16_t val) { - return (uint16_t)((val << 8) | (val >> 8)); + return (val << 8) | (val >> 8); } int16_t swap_int16(int16_t val) { - return (uint16_t)((val << 8) | ((val >> 8) & 0xFF)); + return (val << 8) | ((val >> 8) & 0xFF); } uint32_t swap_uint32(uint32_t val) |