[pulseaudio-commits] r2344 - /branches/glitch-free/src/pulsecore/sink-input.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu May 1 18:24:02 PDT 2008


Author: lennart
Date: Fri May  2 03:24:01 2008
New Revision: 2344

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2344&root=pulseaudio&view=rev
Log:
fix a compiler warning

Modified:
    branches/glitch-free/src/pulsecore/sink-input.c

Modified: branches/glitch-free/src/pulsecore/sink-input.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulsecore/sink-input.c?rev=2344&root=pulseaudio&r1=2343&r2=2344&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/sink-input.c (original)
+++ branches/glitch-free/src/pulsecore/sink-input.c Fri May  2 03:24:01 2008
@@ -1149,7 +1149,7 @@
 
         /* 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;




More information about the pulseaudio-commits mailing list