From 00d5f1adcbceb082f05c60a9cc751cc892f22737 Mon Sep 17 00:00:00 2001 From: Branimir Karadzic Date: Wed, 19 Nov 2014 21:07:32 -0800 Subject: [PATCH] Fixed clang warning. --- examples/common/imgui/imgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/common/imgui/imgui.cpp b/examples/common/imgui/imgui.cpp index 049a510b9..76d45cabd 100644 --- a/examples/common/imgui/imgui.cpp +++ b/examples/common/imgui/imgui.cpp @@ -1457,12 +1457,12 @@ struct Imgui uint8_t ii = 0; for (; ii < enabledCount; ++ii) { - bool enabled = va_arg(_argList, bool); + bool enabled = va_arg(_argList, int); tabEnabled[ii] = enabled; } for (; ii < _nEnabled; ++ii) { - bool enabled = va_arg(_argList, bool); + bool enabled = va_arg(_argList, int); BX_UNUSED(enabled); } for (; ii < _nTabs; ++ii)