summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-02 01:24:01 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-02 01:24:01 +0000
commit792ef5c244f2374d88975f042b2b5f3def99ce0e (patch)
tree2f94a21c831001647de96afe377f11cdce2f3f11
parent775bc6c108cc1070bf97758036b5d9ea745e05ae (diff)
fix a compiler warning
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2344 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/pulsecore/sink-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c
index 1da920a9..bb377c44 100644
--- a/src/pulsecore/sink-input.c
+++ b/src/pulsecore/sink-input.c
@@ -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;