imgui: fix undefined behaviour bitshift.
authorDave Airlie <airlied@redhat.com>
Fri, 17 May 2019 01:26:57 +0000 (11:26 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 17 May 2019 02:33:09 +0000 (12:33 +1000)
commitebdddb36a0418caf0b80810c3641ee237905a5e0
tree10d872e8ea233006d4e47b1699017643e4228637
parent2bfe5b85561f9317ad2ce28baa06e06155ea3fe7
imgui: fix undefined behaviour bitshift.

imgui_draw.cpp:1781: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour

Reported by coverity

Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/imgui/imgui_draw.cpp