From c42a07ef6448e05be7f99e66f92cf29e278450ef Mon Sep 17 00:00:00 2001 From: Martin Dvorak Date: Sat, 3 Feb 2024 17:35:29 +0100 Subject: [PATCH] Rollback of compilation warnings to have it clean on Ubuntu. --- lib/src/model/outline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/model/outline.cpp b/lib/src/model/outline.cpp index 727ea51e..9767edfc 100644 --- a/lib/src/model/outline.cpp +++ b/lib/src/model/outline.cpp @@ -562,7 +562,7 @@ void Outline::addNote(Note* note, int offset) void Outline::addNotes(std::vector& notesToAdd, int offset) { if(notesToAdd.size()) { - for(size_t i=notesToAdd.size()-1; i>=0; i--) { + for(int i=notesToAdd.size()-1; i>=0; i--) { notesToAdd[i]->makeModified(); addNote(notesToAdd[i], offset); }