Small warning fix.

This commit is contained in:
Unknown W. Brackets 2014-10-12 09:48:47 -07:00
parent 0b3fe61a35
commit 1284b109d0

View File

@ -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();
}
}