mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
92fe8b5a76
During the exp-run in bug 208158, it was found that comms/svxlink gives errors with libc++ 3.8.0 [1]: /wrkdirs/usr/ports/comms/svxlink/work/svxlink-15.11/src/async/audio/AsyncAudioDe +viceAlsa.cpp:551:7: error: call to 'abs' is ambiguous if (::abs(real_rate - sample_rate) > 100) ^~~~~ This is because abs() is being called with an unsigned argument. Fix this by casting 'real_rate' to int, since it was assigned from 'sample_rate' anyhow. PR: ports/209371 Reported by: @dim |
||
---|---|---|
.. | ||
patch-src_async_audio_AsyncAudioDeviceAlsa.cpp | ||
patch-src_async_CMakeLists.txt | ||
patch-src_async_qt_CMakeLists.txt | ||
patch-src_CMakeLists.txt | ||
patch-src_doc_CMakeLists.txt | ||
patch-src_doc_man_CMakeLists.txt | ||
patch-src_qtel_CMakeLists.txt | ||
patch-src_svxlink_devcal_CMakeLists.txt | ||
patch-src_svxlink_svxlink_CMakeLists.txt |