[vlc-commits] UleadDVAudio: fix signedness warning

Jean-Baptiste Kempf git at videolan.org
Sat Nov 30 21:31:17 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 29 19:28:01 2013 +0100| [b28e3b4ac06a63499b2a5f03b9a921199dc08f9b] | committer: Jean-Baptiste Kempf

UleadDVAudio: fix signedness warning

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

 modules/codec/uleaddvaudio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/uleaddvaudio.c b/modules/codec/uleaddvaudio.c
index 067117f..dbbd0b4 100644
--- a/modules/codec/uleaddvaudio.c
+++ b/modules/codec/uleaddvaudio.c
@@ -80,7 +80,7 @@ static block_t *Decode(decoder_t *dec, block_t **block_ptr)
         return NULL;
     }
 
-    const int block_size = sys->is_pal ? 8640 : 7200;
+    const unsigned int block_size = sys->is_pal ? 8640 : 7200;
     if (block->i_buffer >= block_size) {
         uint8_t *src = block->p_buffer;
 



More information about the vlc-commits mailing list