mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -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
|
|
@ -89,7 +89,7 @@ static void stream_state_callback(pa_stream *s, void *userdata) {
|
|||
|
||||
fprintf(stderr, "Writing data to stream %i.\n", i);
|
||||
|
||||
r = pa_stream_write(s, data, sizeof(data), nop_free_cb, sizeof(data) * i, PA_SEEK_ABSOLUTE);
|
||||
r = pa_stream_write(s, data, sizeof(data), nop_free_cb, (int64_t) sizeof(data) * (int64_t) i, PA_SEEK_ABSOLUTE);
|
||||
assert(r == 0);
|
||||
|
||||
/* Be notified when this stream is drained */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue