mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix a couple signedness warnings in disarm.
This commit is contained in:
1 parent
140fd171ef
commit
e27faf7c8a
1 file changed
+2
-2
+2
-2
@@ -757,7 +757,7 @@ lPling:
|
||||
}
|
||||
else {
|
||||
if (((int)imm8)<0 && ((int)imm8)>-100) {
|
||||
*op++='-'; imm8=-imm8;
|
||||
*op++='-'; imm8=-(int)imm8;
|
||||
}
|
||||
op = num(op, imm8);
|
||||
}
|
||||
@@ -880,7 +880,7 @@ lPling:
|
||||
if (!(instr&Ubit)) {
|
||||
if (offset) *op++='-';
|
||||
else result.oddbits=1;
|
||||
result.offset = -offset;
|
||||
result.offset = -(int)offset;
|
||||
}
|
||||
else result.offset = offset;
|
||||
op = num(op, offset);
|
||||
|
||||
Reference in new issue
Block a user