From df175cdd0d984c118d24ead8acb63c62efc0f35b Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 23 Jun 2015 19:04:58 +0000 Subject: [PATCH] --- Fltk/graphicWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fltk/graphicWindow.cpp b/Fltk/graphicWindow.cpp index bee3b1162c..de6a0850fb 100644 --- a/Fltk/graphicWindow.cpp +++ b/Fltk/graphicWindow.cpp @@ -3524,7 +3524,7 @@ void graphicWindow::fillRecentHistoryMenu() static char recent[10][256]; for(int i = 0; i < 10; i++){ - if(i < CTX::instance()->recentFiles.size()) + if(i < (int)CTX::instance()->recentFiles.size()) strcpy(recent[i], CTX::instance()->recentFiles[i].c_str()); else strcpy(recent[i], ""); -- GitLab