mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
Fix an unsigned less than 0 warning.
This commit is contained in:
1 parent
1479a6dd32
commit
a2f4efa50f
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user