mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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:
parent
230885ebb4
commit
ef40f82ac1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue