Commit ef40f82a authored by Tomek Bury's avatar Tomek Bury

util: fix compiler warning

conversion to 'wl_fixed_t {aka int}' from 'int64_t {aka long int}'
may alter its value [-Werror=conversion]
parent 230885eb
Pipeline #115198 passed with stage
in 2 minutes and 30 seconds
......@@ -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;
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment