[vlc-commits] Auhal: fix signed comparison issue

Jean-Baptiste Kempf git at videolan.org
Fri Dec 2 00:24:09 CET 2011


vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Dec  1 12:37:02 2011 +0100| [f3cb60bb0f153b981249034ba1dad83d8e5cca64] | committer: Jean-Baptiste Kempf

Auhal: fix signed comparison issue
(cherry picked from commit 7737c981fd792f22afeabedc651bd89a0ad1aabb)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=f3cb60bb0f153b981249034ba1dad83d8e5cca64
---

 modules/audio_output/auhal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 999771a..ab318c6 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -601,7 +601,7 @@ static int OpenSPDIF( audio_output_t * p_aout )
     UInt32                  i_param_size = 0, b_mix = 0;
     Boolean                 b_writeable = false;
     AudioStreamID           *p_streams = NULL;
-    int                     i_streams = 0;
+    unsigned                i_streams = 0;
 
     /* Start doing the SPDIF setup proces */
     p_sys->b_digital = true;



More information about the vlc-commits mailing list