[vlc-devel] commit: Signedness fix ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Jul 3 19:44:52 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Jul  3 20:34:39 2008 +0300| [266960857417c80ac2ab8c39ae2745361551ea45]

Signedness fix

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

 modules/audio_filter/format.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/audio_filter/format.c b/modules/audio_filter/format.c
index 5aa4517..e2eb38a 100644
--- a/modules/audio_filter/format.c
+++ b/modules/audio_filter/format.c
@@ -736,7 +736,7 @@ static block_t *U8toU16( filter_t *p_filter, block_t *p_block )
 static block_t *Swap16( filter_t *p_filter, block_t *p_block )
 {
     VLC_UNUSED(p_filter);
-    int i;
+    size_t i;
     uint8_t *p_in = (uint8_t *)p_block->p_buffer;
     uint8_t tmp;
 
@@ -754,7 +754,7 @@ static block_t *Swap16( filter_t *p_filter, block_t *p_block )
 static block_t *Swap24( filter_t *p_filter, block_t *p_block )
 {
     VLC_UNUSED(p_filter);
-    int i;
+    size_t i;
     uint8_t *p_in = (uint8_t *)p_block->p_buffer;
     uint8_t tmp;
 




More information about the vlc-devel mailing list