From: jaekuk, lee Date: Thu, 7 Jul 2016 02:33:35 +0000 (+0900) Subject: Revert "fix the build warning" X-Git-Tag: submit/tizen/20160707.023755^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=212bf1b2d7d01a1d80bf50a38916395f47fd87b1;p=platform%2Fcore%2Fapi%2Furl-download.git Revert "fix the build warning" Change-Id: I2d53a9e88f9c260edaa47bd5a4be93e19d7aff08 Signed-off-by: jaekuk, lee --- diff --git a/packaging/capi-web-url-download.spec b/packaging/capi-web-url-download.spec index fa8585c..c93f6b8 100755 --- a/packaging/capi-web-url-download.spec +++ b/packaging/capi-web-url-download.spec @@ -1,7 +1,7 @@ Name: capi-web-url-download Summary: CAPI for content download with web url -Version: 1.2.8 +Version: 1.2.7 Release: 0 Group: Development/Libraries License: Apache-2.0 diff --git a/src/download-wrapping.c b/src/download-wrapping.c index 3f7225e..a8837a7 100755 --- a/src/download-wrapping.c +++ b/src/download-wrapping.c @@ -97,9 +97,9 @@ int download_set_network_type(int download_id, { TRACE_INFO(""); - bool bIsTelephonyFeatureSupported = 0; - bool bIsWifiFeatureSupported = 0; - bool bIsWifiDirectFeatureSupported = 0; + int bIsTelephonyFeatureSupported = 0; + int bIsWifiFeatureSupported = 0; + int bIsWifiDirectFeatureSupported = 0; system_info_get_platform_bool (TELEPHONY_FEATURE, &bIsTelephonyFeatureSupported); system_info_get_platform_bool (WIFI_FEATURE, &bIsWifiFeatureSupported); @@ -379,7 +379,7 @@ int download_get_notification_app_control(int download_id, download_notification TRACE_INFO(""); if (handle == NULL) return DOWNLOAD_ERROR_INVALID_PARAMETER; - return dp_interface_get_notification_service_handle(download_id, (int)type, (void **)handle); + return dp_interface_get_notification_service_handle(download_id, (int)type, handle); } int download_set_notification_title(int download_id, const char *title)