mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
add a few more gcc warning flags and fix quite a few problems found by doing so
This commit is contained in:
parent
047eb52b52
commit
b7026bf248
99 changed files with 810 additions and 776 deletions
|
|
@ -195,7 +195,7 @@ static void flush(pa_fdsem *f) {
|
|||
continue;
|
||||
}
|
||||
|
||||
} while (pa_atomic_sub(&f->data->in_pipe, r) > r);
|
||||
} while (pa_atomic_sub(&f->data->in_pipe, (int) r) > (int) r);
|
||||
}
|
||||
|
||||
void pa_fdsem_post(pa_fdsem *f) {
|
||||
|
|
@ -265,7 +265,7 @@ void pa_fdsem_wait(pa_fdsem *f) {
|
|||
continue;
|
||||
}
|
||||
|
||||
pa_atomic_sub(&f->data->in_pipe, r);
|
||||
pa_atomic_sub(&f->data->in_pipe, (int) r);
|
||||
}
|
||||
|
||||
pa_assert_se(pa_atomic_dec(&f->data->waiting) >= 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue