svu: cast variable to int to avoid unsigned vs int comparison

This commit is contained in:
Gregory Hainaut 2017-04-23 19:24:43 +02:00
parent 3a04e3d003
commit 0d3f02ee34
1 changed files with 1 additions and 1 deletions

View File

@ -3650,7 +3650,7 @@ void VuInstruction::Recompile(std::list<VuInstruction>::iterator& itinst, u32 vu
{
break;
}
if ((itinst2->type & INST_Q_WRITE) && itinst2->nParentPc == pc - 8)
if ((itinst2->type & INST_Q_WRITE) && itinst2->nParentPc == (int)pc - 8)
{
break;
}