mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-13 11:47:21 +01:00
fix "-Wshift-negative-value" compiler warning on ggc-7.3.0
This commit is contained in:
parent
e92b11bfb7
commit
5a9864c56d
@ -503,7 +503,7 @@ int polar_disc_lut(int ar, int aj, int br, int bj)
|
||||
|
||||
if (x_abs >= atan_lut_size) {
|
||||
/* we can use linear range, but it is not necessary */
|
||||
return (cj > 0) ? 1<<13 : -1<<13;
|
||||
return (cj > 0) ? 1<<13 : -(1<<13);
|
||||
}
|
||||
|
||||
if (x > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user