diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.h b/Source/Core/Core/PowerPC/PPCAnalyst.h index a591c7f489..110f663ad7 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.h +++ b/Source/Core/Core/PowerPC/PPCAnalyst.h @@ -84,16 +84,16 @@ struct BlockRegStats inline void SetInputRegister(int reg, short opindex) { if (firstRead[reg] == -1) - firstRead[reg] = (short)(opindex); - lastRead[reg] = (short)(opindex); + firstRead[reg] = opindex; + lastRead[reg] = opindex; numReads[reg]++; } inline void SetOutputRegister(int reg, short opindex) { if (firstWrite[reg] == -1) - firstWrite[reg] = (short)(opindex); - lastWrite[reg] = (short)(opindex); + firstWrite[reg] = opindex; + lastWrite[reg] = opindex; numWrites[reg]++; }