mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix build on mac
This commit is contained in:
parent
b6ae3d02d6
commit
a770b9be20
|
@ -44,7 +44,7 @@ struct VideoMode
|
|||
|
||||
uint32_t norm(const VideoMode& other) const
|
||||
{
|
||||
return std::abs(this->width-other.width) + std::abs(this->height-other.height);
|
||||
return abs(this->width-other.width) + abs(this->height-other.height);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user