mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 08:39:51 +00:00
Fix a type comparison warning.
This commit is contained in:
parent
d5219ebafc
commit
103b959d50
@ -2723,7 +2723,7 @@ void ARMXEmitter::VSHL(u32 Size, ARMReg Vd, ARMReg Vm, int shiftAmount) {
|
||||
}
|
||||
|
||||
void ARMXEmitter::VSHLL(u32 Size, ARMReg Vd, ARMReg Vm, int shiftAmount) {
|
||||
if (shiftAmount == (8 * (Size & 0xF))) {
|
||||
if ((u32)shiftAmount == (8 * (Size & 0xF))) {
|
||||
// Entirely different encoding (A2) for size == shift! Bleh.
|
||||
int sz = 0;
|
||||
switch (Size & 0xF) {
|
||||
|
@ -193,7 +193,7 @@ struct Atrac {
|
||||
if (loopEndSample <= 0) {
|
||||
// There's no looping, but we need to stream the data in our buffer.
|
||||
bufferState = ATRAC_STATUS_STREAMED_WITHOUT_LOOP;
|
||||
} else if (loopEndSample == endSample + firstSampleoffset + firstOffsetExtra()) {
|
||||
} else if (loopEndSample == endSample + firstSampleoffset + (int)firstOffsetExtra()) {
|
||||
bufferState = ATRAC_STATUS_STREAMED_LOOP_FROM_END;
|
||||
} else {
|
||||
bufferState = ATRAC_STATUS_STREAMED_LOOP_WITH_TRAILER;
|
||||
|
Loading…
Reference in New Issue
Block a user