mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-02 13:05:41 -04:00
QtHostInterface: Fix compiler warning
This commit is contained in:
parent
71cef1de3f
commit
9d6325f828
@ -285,7 +285,7 @@ void QtHostInterface::onDisplayWindowMouseButtonEvent(int button, bool pressed)
|
||||
{
|
||||
DebugAssert(isOnWorkerThread());
|
||||
|
||||
if (ImGui::GetCurrentContext() && (button > 0 && button <= countof(ImGuiIO::MouseDown)))
|
||||
if (ImGui::GetCurrentContext() && (button > 0 && button <= static_cast<int>(countof(ImGuiIO::MouseDown))))
|
||||
{
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.MouseDown[button - 1] = pressed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user