summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControlReference/ControlReference.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-04-29 00:48:13 +0200
committerLéo Lam <leo@leolam.fr>2020-05-03 14:41:58 +0200
commit07ab79db64316806b51fff1e7f19828ffc5cee3e (patch)
tree5b091e82eb6f55edd8253bbe78689e90f34e2bee /Source/Core/InputCommon/ControlReference/ControlReference.h
parent0ab9475f8eb70d1f378d76b6b4bd2445602d5084 (diff)
MathUtil: Fix Rectangle::GetWidth/Height for unsigned types
`std::abs(x - y)` where x and y are unsigned integers fails to compile with an "call of overloaded 'abs(unsigned int)' is ambiguous" error on GCC, and even if it did compile, that expression still wouldn't give the correct result since `x - y` is unsigned.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ControlReference.h')
0 files changed, 0 insertions, 0 deletions