diff --git a/Fltk/graphicWindow.cpp b/Fltk/graphicWindow.cpp
index bee3b1162cf3a53a9f04d626d14e32c422ca7d64..de6a0850fb735f0dedfa45e47d5ab83b37495742 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], "");