From 679cf7434e1190e40e79da0734c3a1c3d0a44e81 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sat, 18 May 2019 09:43:30 +0100 Subject: [PATCH] Fix undefined behavior (#2561) --- imgui_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 467555cf5..c352db054 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -1779,7 +1779,7 @@ static void UnpackBoolVectorToFlatIndexList(const ImBoolVector* in, ImVectorpush_back((int)((it - it_begin) << 5) + bit_n); }