diff options
author | Kimmy Mu <kmu@hdfgroup.org> | 2020-01-28 19:28:26 (GMT) |
---|---|---|
committer | Kimmy Mu <kmu@hdfgroup.org> | 2020-01-28 19:28:26 (GMT) |
commit | 71c050f837149a0c11e0936e661047c091deaa2f (patch) | |
tree | 05bc0afc7c0907369e7e6ac2953689229e63d76f /src | |
parent | 57dd6d9864f79a4c4d89865978628219145a1ab0 (diff) | |
parent | 406330addf45529ecdd088f4d22e9aab9a03661d (diff) | |
download | hdf5-71c050f837149a0c11e0936e661047c091deaa2f.zip hdf5-71c050f837149a0c11e0936e661047c091deaa2f.tar.gz hdf5-71c050f837149a0c11e0936e661047c091deaa2f.tar.bz2 |
Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
* commit '406330addf45529ecdd088f4d22e9aab9a03661d':
rename macro
change condition
pick up from Dave's fix
leave Wswitch-default for later fix
fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, Wsign-compare, Wmisleading-indentation, Wshadow
Diffstat (limited to 'src')
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index e4d2e08..41cef16 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1597,7 +1597,7 @@ extern char *strdup(const char *s); srctype _tmp_src = (srctype)(src); \ dsttype _tmp_dst = (dsttype)(_tmp_src); \ HDassert(_tmp_src >= 0); \ - HDassert(_tmp_src == _tmp_dst); \ + HDassert(_tmp_src == (srctype)_tmp_dst); \ (dst) = _tmp_dst; \ } |