From 1284b109d0e66f6572638aa55abaa4b6210d4da4 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 12 Oct 2014 09:48:47 -0700 Subject: [PATCH] Small warning fix. --- UI/ControlMappingScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/ControlMappingScreen.cpp b/UI/ControlMappingScreen.cpp index 4113e0dad1..1a4e137d87 100644 --- a/UI/ControlMappingScreen.cpp +++ b/UI/ControlMappingScreen.cpp @@ -416,7 +416,7 @@ void JoystickHistoryView::Draw(UIContext &dc) { void JoystickHistoryView::Update(const InputState &input_state) { locations_.push_back(Location(curX_, curY_)); - if (locations_.size() > maxCount_) { + if ((int)locations_.size() > maxCount_) { locations_.pop_front(); } }