mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 05:14:45 +00:00
Fix compilation in clang
This commit is contained in:
parent
e07f1f1668
commit
64b8b8ef82
@ -211,7 +211,7 @@ fixed fixsqrt(fixed x)
|
||||
// Fixed point sqrt (x*x+y*y) for non-i386.
|
||||
fixed fixhypot(fixed x, fixed y)
|
||||
{
|
||||
return ftofix(std::hypot(fixtof(x), fixtof(y)));
|
||||
return ftofix(hypot(fixtof(x), fixtof(y)));
|
||||
}
|
||||
|
||||
// Fixed point inverse tangent. Does a binary search on the tan table.
|
||||
|
Loading…
Reference in New Issue
Block a user