diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-07-03 10:59:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-03 10:59:31 -0400 |
commit | 536103221911692d546d7325435812c29bb32ff1 (patch) | |
tree | 2206786e9004fbc86962e2f0257d0a49c7297cf6 /src/common/crypto.h | |
parent | 3483f7c00349be6cba7b703f2e5ee94563d0c6eb (diff) | |
download | tor-536103221911692d546d7325435812c29bb32ff1.tar.gz tor-536103221911692d546d7325435812c29bb32ff1.zip |
Fix -Wfloat-conversion C warnings on mingw in clamp_double_to_int64.
We just have to suppress these warnings: Mingw's math.h uses gcc's
__builtin_choose_expr() facility to declare isnan, isfinite, and
signbit. But as implemented in at least some versions of gcc,
__builtin_choose_expr() can generate type warnings even from
branches that are not taken.
Fixes bug 22801; bugfix on 0.2.8.1-alpha.
Diffstat (limited to 'src/common/crypto.h')
0 files changed, 0 insertions, 0 deletions