mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
GRIM: Add some casts to the MD5-check, to avoid warnings.
This commit is contained in:
parent
03002c97e7
commit
256f36101e
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user