dyne / frei0r

A large collection of free and portable video plugins
https://frei0r.dyne.org/
GNU General Public License v2.0
419 stars 91 forks source link

Prevent compiler warnings in select0r #169

Closed rrrapha closed 1 year ago

rrrapha commented 1 year ago

This stops compiler (clang) warnings like the following:

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]
ax = 0.5 - fabsf(fabsf(hue - chue) - 0.5);