Fix signed-unsigned comparisons and mark warning as error (part 2).

This commit is contained in:
Nekotekina 2020-02-19 20:03:59 +03:00
parent 771eff273b
commit 92e3eaf3ff
68 changed files with 194 additions and 202 deletions

View file

@ -155,7 +155,7 @@ bool ALSABackend::AddData(const void* src, u32 num_samples)
return false;
}
if (res != num_frames)
if (res + 0u != num_frames)
{
ALSA.warning("Error (%d)", res);
return false;