GRIM: Add some casts to the MD5-check, to avoid warnings.

This commit is contained in:
Einar Johan Trøan Sømåen 2013-07-12 17:15:21 +02:00
parent 03002c97e7
commit 256f36101e
2 changed files with 2 additions and 2 deletions

View File

@ -454,7 +454,7 @@ bool MD5Check::advanceCheck(int *pos, int *total) {
if (total) {
*total = _files->size();
}
if (_iterator == _files->size()) {
if ((uint32)_iterator == _files->size()) {
_iterator = -1;
}

View File

@ -80,7 +80,7 @@ MD5CheckDialog::MD5CheckDialog() :
void MD5CheckDialog::drawDialog() {
GUI::Dialog::drawDialog();
g_gui.theme()->drawSlider(_progressRect, _progressRect.width() * _progress);
g_gui.theme()->drawSlider(_progressRect, (int)(_progressRect.width() * _progress));
}
void MD5CheckDialog::check() {