typecast comparison in Render::nextPage

This commit is contained in:
François Gannaz 2019-04-01 09:27:09 +02:00
parent 9dbfabc05f
commit f9d6667461

View File

@ -863,7 +863,7 @@ void Render::nextPage()
update(); update();
emit pageChanged(currentIndex); emit pageChanged(currentIndex);
} }
else if (hasLoadedComic() && (currentIndex == numPages()-1)) else if (hasLoadedComic() && ((unsigned int)currentIndex == numPages()-1))
{ {
emit isLast(); emit isLast();
} }