diff --git a/src/BatchProcessDialog.cpp b/src/BatchProcessDialog.cpp index 99b90f409..26349b772 100644 --- a/src/BatchProcessDialog.cpp +++ b/src/BatchProcessDialog.cpp @@ -206,7 +206,7 @@ wxString ApplyMacroDialog::MacroIdOfName( const wxString & MacroName ) // Does nothing if not found, rather than returning an error. void ApplyMacroDialog::ApplyMacroToProject( const wxString & MacroID, bool bHasGui ) { - for( size_t i=0;iGetItemCount();i++){ + for( int i=0;iGetItemCount();i++){ wxString name = mMacros->GetItemText(i); if( MacroIdOfName( name ) == MacroID ){ ApplyMacroToProject( i, bHasGui );