Fix build fail for 64bit 30/63730/1 accepted/tizen/common/20160329.050733 accepted/tizen/ivi/20160325.134324 accepted/tizen/ivi/20160329.041843 accepted/tizen/mobile/20160325.134250 accepted/tizen/mobile/20160329.041706 accepted/tizen/tv/20160325.134227 accepted/tizen/tv/20160329.041739 accepted/tizen/wearable/20160325.134309 accepted/tizen/wearable/20160329.041816 submit/tizen/20160325.105407 submit/tizen/20160328.061844
authorTaejin Woo <tt.woo@samsung.com>
Fri, 25 Mar 2016 10:47:39 +0000 (19:47 +0900)
committerTaejin Woo <tt.woo@samsung.com>
Fri, 25 Mar 2016 10:47:39 +0000 (19:47 +0900)
casting issue

Change-Id: If21e0dea60530e1faae100808564760cfdba6f84
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
bt-share/src/obex-event-handler.c

index ea7b638..c77144c 100644 (file)
@@ -735,9 +735,9 @@ void _bt_app_obex_download_dup_file_cb(void *data, void *obj,
        char storage[STORAGE_PATH_LEN_MAX] = { 0, };
        char temp_filename[BT_FILE_PATH_LEN_MAX] = { 0, };
 
-       DBG("response : %d\n", (int)event_info);
+       DBG("response : %d\n", (int)(uintptr_t)event_info);
 
-       if ((int)event_info == POPUP_RESPONSE_OK) {
+       if ((int)(uintptr_t)event_info == POPUP_RESPONSE_OK) {
                DBG("OK button pressed \n");
 
                _bt_get_default_storage(storage);
@@ -752,7 +752,7 @@ void _bt_app_obex_download_dup_file_cb(void *data, void *obj,
 
                DBG("temp_filename %s", temp_filename);
                bluetooth_obex_server_accept_authorize(server_auth_info->filename);
-       } else if ((int)event_info == POPUP_RESPONSE_CANCEL) {
+       } else if ((int)(uintptr_t)event_info == POPUP_RESPONSE_CANCEL) {
                bluetooth_obex_server_reject_authorize();
        }
        return;