diff options
author | Rahul Bedarkar <rahul.bedarkar@imgtec.com> | 2016-08-20 14:39:20 +0530 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-20 11:34:45 +0200 |
commit | 3b7304022687e469a030dc6ed7cebcdf6e2f6d63 (patch) | |
tree | 43b3348ec841320f93bea83e7c9ffadf20fb550c /package/linknx/0002-src-suncalc.cpp-fix-build-with-gcc-6.x.patch | |
parent | 254da768654b90b448a795c996102e7b4ab0d062 (diff) | |
download | buildroot-3b7304022687e469a030dc6ed7cebcdf6e2f6d63.tar.gz buildroot-3b7304022687e469a030dc6ed7cebcdf6e2f6d63.zip |
jack2: fix build with gcc 6
With gcc version 6, we get the following error when building jack2:
../tests/iodelay.cpp:170:49: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing]
jack_latency_range_t capture_latency = {-1, -1};
^
../tests/iodelay.cpp:170:49: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing]
../tests/iodelay.cpp:171:50: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing]
jack_latency_range_t playback_latency = {-1, -1};
^
../tests/iodelay.cpp:171:50: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing]
This is fixed by grabbing an upstream commit,
ff1ed2c4524095055140370c1008a2d9cccc5645
Fixes:
http://autobuild.buildroot.net/results/8a8/8a8d533a0f785591fee10f1c09c9294f892ef7f7/
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/linknx/0002-src-suncalc.cpp-fix-build-with-gcc-6.x.patch')
0 files changed, 0 insertions, 0 deletions