From 16f672a9bdc425c04f8fe61bc5503f26177649b5 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 15 Jul 2019 20:00:46 +0100 Subject: [PATCH] Fix signed/unsigned mismatch. Fixes: lp:1836626 * https://bugs.launchpad.net/kicad/+bug/1836626 --- common/eda_draw_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/eda_draw_frame.cpp b/common/eda_draw_frame.cpp index 05be7383c9..962ea80fdd 100644 --- a/common/eda_draw_frame.cpp +++ b/common/eda_draw_frame.cpp @@ -447,7 +447,7 @@ void EDA_DRAW_FRAME::PopTool( const std::string& actionName ) // frame but not processed until the mouse is back in the Schematic frame), so make sure // we're popping the right stack frame. - for( size_t i = m_toolStack.size() - 1; i >= 0; --i ) + for( int i = m_toolStack.size() - 1; i >= 0; --i ) { if( m_toolStack[ i ] == actionName ) {