Merge pull request #892 from zawata/another-warning-fixes

Yet More Warning Fixes
This commit is contained in:
Yuri Kunde Schlesner 2015-07-25 12:50:32 -07:00
commit 9a0f9f12cd
9 changed files with 24 additions and 24 deletions

View file

@ -502,7 +502,7 @@ void Advance() {
Core::g_app_core->down_count += diff;
}
if (advance_callback)
advance_callback(cycles_executed);
advance_callback(static_cast<int>(cycles_executed));
}
void LogPendingEvents() {

View file

@ -191,7 +191,7 @@ static THREEDSX_Error Load3DSXFile(FileUtil::IOFile& file, u32 base_addr, Shared
*pos = (addr);
break;
case 1:
*pos = (addr - in_addr);
*pos = static_cast<u32>(addr - in_addr);
break;
default:
break; //this should never happen