mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
fix a compiler warning
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2344 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
775bc6c108
commit
792ef5c244
1 changed files with 1 additions and 1 deletions
|
|
@ -1149,7 +1149,7 @@ void pa_sink_input_request_rewind(pa_sink_input *i, size_t nbytes /* in our sam
|
|||
|
||||
/* Make sure to not overwrite over underruns */
|
||||
if (!ignore_underruns)
|
||||
if ((int64_t) nbytes > i->thread_info.playing_for)
|
||||
if (nbytes > i->thread_info.playing_for)
|
||||
nbytes = (size_t) i->thread_info.playing_for;
|
||||
|
||||
i->thread_info.rewrite_nbytes = nbytes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue