[vlc-commits] Auhal: fix signed comparison issue

Jean-Baptiste Kempf git at videolan.org
Thu Dec 1 12:37:19 CET 2011


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

Auhal: fix signed comparison issue

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

 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