diff --git a/uppsrc/CtrlLib/FileSel.cpp b/uppsrc/CtrlLib/FileSel.cpp index 710495973..bcd9968af 100644 --- a/uppsrc/CtrlLib/FileSel.cpp +++ b/uppsrc/CtrlLib/FileSel.cpp @@ -366,7 +366,7 @@ void LazyFileIcons::Do() } int tm = GetTickCount(); while(pos < list->GetCount()) { - if(GetTickCount() - tm > ptime) { + if((int)GetTickCount() - tm > ptime) { ptime = 50; Restart(0); return;