diff options
author | kmu <kmu@jelly.ad.hdfgroup.org> | 2019-11-07 20:34:13 (GMT) |
---|---|---|
committer | kmu <kmu@jelly.ad.hdfgroup.org> | 2019-11-07 20:34:13 (GMT) |
commit | 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466 (patch) | |
tree | f1985055bbea601ded4a545e123d4954ef8529fe /src/H5Ztrans.c | |
parent | afd4b291315e39e3966eadaf8ae9894b30e9504e (diff) | |
download | hdf5-8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.zip hdf5-8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.tar.gz hdf5-8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.tar.bz2 |
fix warnings from Intel compiler
Diffstat (limited to 'src/H5Ztrans.c')
-rw-r--r-- | src/H5Ztrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ztrans.c b/src/H5Ztrans.c index 6d07513..50ac947 100644 --- a/src/H5Ztrans.c +++ b/src/H5Ztrans.c @@ -324,7 +324,7 @@ static void H5Z_print(H5Z_node *tree, FILE *stream); #define H5Z_XFORM_DO_OP5(TYPE, SIZE) \ { \ - TYPE val = ((tree->type == H5Z_XFORM_INTEGER) ? (TYPE)tree->value.int_val : (TYPE)tree->value.float_val); \ + TYPE val = (TYPE)((tree->type == H5Z_XFORM_INTEGER) ? (TYPE)tree->value.int_val : (TYPE)tree->value.float_val); \ H5VM_array_fill(array, &val, sizeof(TYPE), (SIZE)); \ } |