x42 / tuna.lv2

Musical Instrument Tuner
http://x42-plugins.com/x42/x42-tuner
GNU General Public License v2.0
26 stars 8 forks source link

Clang warnings #9

Closed yurivict closed 6 years ago

yurivict commented 6 years ago
src/tuna.c:832:9: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]
                                if (fabsf(self->dll_e0 * freq / self->rate) > .02) {
                                    ^
src/tuna.c:832:9: note: use function 'fabs' instead
                                if (fabsf(self->dll_e0 * freq / self->rate) > .02) {
                                    ^~~~~
                                    fabs