Re: [Mesa-dev] [PATCH 3/4] imgui: fix undefined behaviour bitshift.

2019-05-17 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin And reported upstream : https://github.com/ocornut/imgui/pull/2561 On 17/05/2019 03:22, Dave Airlie wrote: From: Dave Airlie imgui_draw.cpp:1781: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour Reported by coverit

[Mesa-dev] [PATCH 3/4] imgui: fix undefined behaviour bitshift.

2019-05-16 Thread Dave Airlie
From: Dave Airlie imgui_draw.cpp:1781: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour Reported by coverity --- src/imgui/imgui_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imgui/imgui_draw.cpp b/src/imgui/imgui_