mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
Fix -Wsign-compare a little bit
Explicitly mark loop types (per review)
This commit is contained in:
parent
22917084d9
commit
d0eae7bab1
6 changed files with 12 additions and 10 deletions
|
@ -428,7 +428,7 @@ next:
|
|||
if (adecIsAtracX(adec.type) && !adec.reader.init)
|
||||
{
|
||||
OMAHeader oma(1 /* atrac3p id */, adec.sample_rate, adec.ch_cfg, adec.frame_size);
|
||||
if (buf_size < sizeof(oma))
|
||||
if (buf_size + 0u < sizeof(oma))
|
||||
{
|
||||
cellAdec.error("adecRead(): OMAHeader writing failed");
|
||||
Emu.Pause();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue