The Side(SideT) methods in gfx/BaseMargin<T> cast the SideT argument to a value of type T before adding it to a pointer. It should rather be cast to an int, as T is sometimes a Float (as instantiated in Rect.h).
Attachment #8595011 - Flags: review+ → review?(jmuizelaar)
You need to log in before you can comment on or make changes to this bug.