Fix an unsigned less than 0 warning.

This commit is contained in:
Unknown W. Brackets 2014-12-20 09:10:53 -08:00
parent 1479a6dd32
commit a2f4efa50f

View File

@ -239,7 +239,7 @@ static u32 sceAacInit(u32 id)
delete aac;
return ERROR_AAC_INVALID_ADDRESS;
}
if (aac->startPos < 0 || aac->startPos > aac->endPos) {
if (aac->startPos > aac->endPos) {
ERROR_LOG(ME, "sceAacInit() AAC INVALID startPos %lli endPos %lli", aac->startPos, aac->endPos);
delete aac;
return ERROR_AAC_INVALID_PARAMETER;