fixed compilation warnings in YACReader.pro, at least using vc++ compiler

This commit is contained in:
Luis Ángel San Martín
2016-03-26 09:50:32 +01:00
parent e5a9fbbf3e
commit 20c01cca8c
7 changed files with 25 additions and 4 deletions

View File

@ -876,7 +876,7 @@ void Render::nextDoublePage()
update();
emit pageChanged(currentIndex);
}
else if (hasLoadedComic() && (currentIndex >= numPages()-2))
else if (hasLoadedComic() && ((unsigned int)currentIndex >= numPages()-2))
{
emit isLast();
}