mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Fix signed-unsigned comparisons and mark warning as error (part 2).
This commit is contained in:
parent
771eff273b
commit
92e3eaf3ff
68 changed files with 194 additions and 202 deletions
|
@ -80,7 +80,7 @@ static u8* add_jit_memory(std::size_t size, uint align)
|
|||
return _pos;
|
||||
});
|
||||
|
||||
if (pos == -1) [[unlikely]]
|
||||
if (pos == umax) [[unlikely]]
|
||||
{
|
||||
jit_log.warning("JIT: Out of memory (size=0x%x, align=0x%x, off=0x%x)", size, align, Off);
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue