Remove some unsigned < 0 comparisons.
This commit is contained in:
parent
b9862c29a0
commit
ddc2c15ce8
3 changed files with 3 additions and 8 deletions
|
@ -1261,7 +1261,7 @@ u32 AllocMemoryBlock(const char *pname, u32 type, u32 size, u32 paramsAddr) {
|
|||
WARN_LOG(HLE, "AllockMemoryBlock(SysMemUserForUser_FE707FDF) : unknown parameters with length %d", length);
|
||||
}
|
||||
}
|
||||
if (type < 0 || type > 1) {
|
||||
if (type > 1) {
|
||||
return SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCKTYPE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue