mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
protocol-native: compare uint64_t variable with (uint64_t) -1 instead of (size_t) -1 for compat with 32bit archs
This commit is contained in:
parent
44b798237a
commit
cab48d48d1
1 changed files with 2 additions and 1 deletions
|
|
@ -1289,7 +1289,8 @@ static void handle_seek(playback_stream *s, int64_t indexw) {
|
|||
|
||||
pa_log_debug("Requesting rewind due to end of underrun.");
|
||||
pa_sink_input_request_rewind(s->sink_input,
|
||||
(size_t) (s->sink_input->thread_info.underrun_for == (size_t) -1 ? 0 : s->sink_input->thread_info.underrun_for),
|
||||
(size_t) (s->sink_input->thread_info.underrun_for == (uint64_t) -1 ? 0 :
|
||||
s->sink_input->thread_info.underrun_for),
|
||||
FALSE, TRUE, FALSE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue