diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-26 23:24:48 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-11-26 23:24:48 (GMT) |
commit | e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c (patch) | |
tree | b4605ad55c3c2b82218a915fc2322d0f75a4f880 /tools/src/h5import | |
parent | bfbd613f53af476fd83ac9e2bfb5855e659eef65 (diff) | |
download | hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.zip hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.tar.gz hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.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) |