fix build error of 64bit with x11 36/52336/1 accepted/tizen/mobile/20151123.093151 accepted/tizen/tv/20151123.093205 accepted/tizen/wearable/20151123.093229 submit/tizen/20151123.054109 submit/tizen_common/20151123.100125
authorHyongtaek Lim <hyongtaek.lim@samsung.com>
Mon, 23 Nov 2015 02:52:44 +0000 (11:52 +0900)
committerHyongtaek Lim <hyongtaek.lim@samsung.com>
Mon, 23 Nov 2015 02:53:33 +0000 (11:53 +0900)
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
Change-Id: Id07afd537efa9a1529c97272812f815935f31700

CMakeLists.txt
src/player.c
src/player_priv.c

index aed3bce6d3cfb6c67a5683deafec37636835cacc..7a2bfce38e0c8060c15f2ebb7a8cda928c335cb2 100644 (file)
@@ -28,7 +28,7 @@ FOREACH(flag ${${fw_name}_CFLAGS})
     SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
 ENDFOREACH(flag)
 
-SET(CMAKE_C_FLAGS "-I./${INC_DIR} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror -DGST_EXT_TIME_ANALYSIS")
+SET(CMAKE_C_FLAGS "-I./${INC_DIR} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror -Wno-deprecated -Wno-deprecated-declarations -DGST_EXT_TIME_ANALYSIS")
 SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
 
 IF("${ARCH}" STREQUAL "arm")
index 8ebc11b2dcb2a4c99ae0de47ed6bc52cc33a7df6..7111c85e17d038ae7d605d6c6567cf3787948813 100644 (file)
@@ -1976,7 +1976,7 @@ int player_set_display(player_h player, player_display_type_e type, player_displ
 #else // HAVE_X11
                                                        /* x window overlay surface */
                                                        LOGI("X overlay surface type");
-                                                       handle->display_handle = (void *)elm_win_xwindow_get(obj);
+                                                       handle->display_handle = (void *)(uintptr_t)elm_win_xwindow_get(obj);
                                                        set_handle = &(handle->display_handle);
 #endif
                        }
index 84a8f55d44cb6e6d0802ab281a9271fb32e31589..58f303866a27100a3cd1eabf64736490646c390b 100644 (file)
@@ -248,7 +248,7 @@ int player_set_display_for_mused(player_h player, player_display_type_e type, un
                {
                        /* x window overlay surface */
                        LOGI("overlay surface type");
-                       handle->display_handle = (void *)xhandle;
+                       handle->display_handle = (void *)(uintptr_t)xhandle;
                        set_handle = &(handle->display_handle);
                }
                else