1
0
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:
sudden6 2016-03-22 15:44:50 +01:00
parent b6ae3d02d6
commit a770b9be20
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -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);
}
};