[vlc-devel] commit: Fix x86_64 specific compilation warning. (Antoine Cellerier )

git version control git at videolan.org
Sat Oct 25 16:54:23 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sat Oct 25 03:04:20 2008 +0200| [1e8938de3cfa40814450b42f9d69db49dd269ab8] | committer: Antoine Cellerier 

Fix x86_64 specific compilation warning.

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

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

diff --git a/modules/access/v4l2/v4l2.c b/modules/access/v4l2/v4l2.c
index d4915c0..063698f 100644
--- a/modules/access/v4l2/v4l2.c
+++ b/modules/access/v4l2/v4l2.c
@@ -3519,7 +3519,7 @@ static int DemuxControlCallback( vlc_object_t *p_this,
     (void)oldval;
     demux_t *p_demux = (demux_t*)p_this;
     demux_sys_t *p_sys = p_demux->p_sys;
-    int i_cid = (int)p_data;
+    int i_cid = (long int)p_data;
 
     int i_fd = p_sys->i_fd_video;
 
@@ -3555,7 +3555,7 @@ static int AccessControlCallback( vlc_object_t *p_this,
     (void)oldval;
     access_t *p_access = (access_t *)p_this;
     demux_sys_t *p_sys = (demux_sys_t *) p_access->p_sys;
-    int i_cid = (int)p_data;
+    int i_cid = (long int)p_data;
 
     int i_fd = p_sys->i_fd_video;
 




More information about the vlc-devel mailing list