diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-01-12 14:56:02 +0200 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-01-12 14:56:02 +0200 |
commit | 2aecfe0bda20fe9ca4bfccd3034ad8655a3c81c4 (patch) | |
tree | 11d26620d95cb41b99653be917795fbb61bdd1c8 /src | |
parent | 2f4591b336883490ee3d14ad397de91f98fe376e (diff) | |
download | xine-lib-2aecfe0bda20fe9ca4bfccd3034ad8655a3c81c4.tar.gz xine-lib-2aecfe0bda20fe9ca4bfccd3034ad8655a3c81c4.tar.bz2 |
Hide "warning: cast from pointer to integer of different size"
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/video_out_xcbshm.c | 2 | ||||
-rw-r--r-- | src/video_out/video_out_xcbxv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/video_out_xcbshm.c b/src/video_out/video_out_xcbshm.c index c93cf8c1e..e3556d8e7 100644 --- a/src/video_out/video_out_xcbshm.c +++ b/src/video_out/video_out_xcbshm.c @@ -870,7 +870,7 @@ static int xshm_gui_data_exchange (vo_driver_t *this_gen, break; case XINE_GUI_SEND_DRAWABLE_CHANGED: - this->window = (xcb_window_t) data; + this->window = (xcb_window_t) (long) data; pthread_mutex_lock(&this->main_mutex); xcb_free_gc(this->connection, this->gc); diff --git a/src/video_out/video_out_xcbxv.c b/src/video_out/video_out_xcbxv.c index 78bbc94e6..15cb986d7 100644 --- a/src/video_out/video_out_xcbxv.c +++ b/src/video_out/video_out_xcbxv.c @@ -968,7 +968,7 @@ static int xv_gui_data_exchange (vo_driver_t *this_gen, case XINE_GUI_SEND_DRAWABLE_CHANGED: pthread_mutex_lock(&this->main_mutex); - this->window = (xcb_window_t) data; + this->window = (xcb_window_t) (long) data; xcb_free_gc(this->connection, this->gc); this->gc = xcb_generate_id(this->connection); xcb_create_gc(this->connection, this->gc, this->window, 0, NULL); |