util: fix compiler warning

conversion to 'wl_fixed_t {aka int}' from 'int64_t {aka long int}'
may alter its value [-Werror=conversion]
This commit is contained in:
Tomek Bury 2020-02-24 11:02:44 +00:00
parent 230885ebb4
commit ef40f82ac1

View File

@ -640,7 +640,7 @@ wl_fixed_from_double(double d)
u.d = d + (3LL << (51 - 8));
return u.i;
return (wl_fixed_t)u.i;
}
/**