]> git.sesse.net Git - vlc/commitdiff
* fixed some other signedness-issue (thanks to Trax!)
authorFelix Paul Kühne <fkuehne@videolan.org>
Mon, 19 Sep 2005 19:45:54 +0000 (19:45 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Mon, 19 Sep 2005 19:45:54 +0000 (19:45 +0000)
modules/access/mms/mmstu.c

index 2e0641a8df23737d7cb1c5fb93fcb8620f6226d1..2ee73a300d6d4c59ee69adc96c4342f31f6b858f 100644 (file)
@@ -680,7 +680,7 @@ static int MMSOpen( access_t  *p_access, vlc_url_t *p_url, int  i_proto )
              "answer 0x06 flags:0x%8.8x media_length:%ds packet_length:%d packet_count:%d max_bit_rate:%d header_size:%d",
              p_sys->i_flags_broadcast,
              p_sys->i_media_length,
-             p_sys->i_packet_length,
+             (int) p_sys->i_packet_length,
              p_sys->i_packet_count,
              p_sys->i_max_bit_rate,
              p_sys->i_header_size );
@@ -1035,13 +1035,13 @@ static int NetFillBuffer( access_t *p_access )
 
         if( i_tcp > 0 )
         {
-            FD_SET( p_sys->i_handle_tcp, &fds_r );
-            FD_SET( p_sys->i_handle_tcp, &fds_e );
+            FD_SET( (unsigned int) p_sys->i_handle_tcp, &fds_r );
+            FD_SET( (unsigned int) p_sys->i_handle_tcp, &fds_e );
         }
         if( i_udp > 0 )
         {
-            FD_SET( p_sys->i_handle_udp, &fds_r );
-            FD_SET( p_sys->i_handle_udp, &fds_e );
+            FD_SET( (unsigned int) p_sys->i_handle_udp, &fds_r );
+            FD_SET( (unsigned int) p_sys->i_handle_udp, &fds_e );
         }
 
         /* We'll wait 0.5 second if nothing happens */