First part of fixing sign-compare warning (inside be_t).

This commit is contained in:
Nekotekina 2020-02-19 18:26:41 +03:00
parent 0cf35e3b22
commit 771eff273b
31 changed files with 129 additions and 128 deletions

View file

@ -18,13 +18,13 @@ static auto convert_path_list(vm::cpptr<char> path_list, s32 count)
// Execute start or stop module function
static void entryx(ppu_thread& ppu, vm::ptr<sys_prx_start_stop_module_option_t> opt, u32 args, vm::ptr<void> argp, vm::ptr<s32> res)
{
if (opt->entry2.addr() != -1)
if (opt->entry2.addr() != umax)
{
*res = opt->entry2(ppu, opt->entry, args, argp);
return;
}
if (opt->entry.addr() != -1)
if (opt->entry.addr() != umax)
{
*res = opt->entry(ppu, args, argp);
return;