Commit 0d6c62da authored by Olivier Aubert's avatar Olivier Aubert

src/control/audio_video.c: cast visual_id parameter to int

parent 5412a976
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* audio_video.c: Audio/Video management : volume, snapshot, OSD * audio_video.c: Audio/Video management : volume, snapshot, OSD
***************************************************************************** *****************************************************************************
* Copyright (C) 2005 the VideoLAN team * Copyright (C) 2005 the VideoLAN team
* $Id: vlc.c 10786 2005-04-23 23:19:17Z zorglub $ * $Id$
* *
* Authors: Olivier Aubert <olivier.aubert@liris.univ-lyon1.fr> * Authors: Olivier Aubert <olivier.aubert@liris.univ-lyon1.fr>
* *
...@@ -416,7 +416,7 @@ vlc_bool_t mediacontrol_set_visual( mediacontrol_Instance *self, ...@@ -416,7 +416,7 @@ vlc_bool_t mediacontrol_set_visual( mediacontrol_Instance *self,
RAISE( mediacontrol_InternalException, "No vlc reference" ); RAISE( mediacontrol_InternalException, "No vlc reference" );
return 0; return 0;
} }
value.i_int=visual_id; value.i_int = (int) visual_id;
ret = var_Set(self->p_vlc, "drawable", value); ret = var_Set(self->p_vlc, "drawable", value);
return (ret == VLC_SUCCESS); return (ret == VLC_SUCCESS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment