diff options
author | Kimmy Mu <kmu@hdfgroup.org> | 2020-01-28 19:28:26 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-28 21:47:58 (GMT) |
commit | d4dedac70f84be791869e37d28aef73f3d72c1e4 (patch) | |
tree | dddd9405e501f01b7a65dd973ba90e06d084b8d7 /src | |
parent | 68c54e69a4f4a6a40dff7ca0c1d48ef004a4adda (diff) | |
download | hdf5-d4dedac70f84be791869e37d28aef73f3d72c1e4.zip hdf5-d4dedac70f84be791869e37d28aef73f3d72c1e4.tar.gz hdf5-d4dedac70f84be791869e37d28aef73f3d72c1e4.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 c3375df..74fab79 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1616,7 +1616,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; \ } |