Fix undefined behavior (#2561)
Fix undefined behavior (#2561)


cmaughan/imgui,dougbinks/imgui,cmaughan/imgui,Flix01/imgui,nProtect/imgui,burningreggae/imgui,ggtucker/imgui,cmaughan/imgui,bkaradzic/imgui,ggtucker/imgui,dougbinks/imgui,ocornut/imgui,ocornut/imgui,Flix01/imgui,Flix01/imgui,burningreggae/imgui,bkaradzic/imgui,nProtect/imgui,ggtucker/imgui,cmaughan/imgui,ocornut/imgui,aimotive/imgui-glfw,nProtect/imgui,bkaradzic/imgui,aimotive/imgui-glfw