fix the build warning 41/78541/1 accepted/tizen/common/20160706.142258 accepted/tizen/ivi/20160706.082910 accepted/tizen/mobile/20160706.082829 accepted/tizen/tv/20160706.082819 accepted/tizen/wearable/20160706.082824 submit/tizen/20160706.045426
authorjaekuk, lee <juku1999@samsung.com>
Wed, 6 Jul 2016 04:28:41 +0000 (13:28 +0900)
committerjaekuk, lee <juku1999@samsung.com>
Wed, 6 Jul 2016 04:28:41 +0000 (13:28 +0900)
Change-Id: I81a8fe22e0ff52ebce7e1ec334b6617ef58a55b1
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
packaging/capi-web-url-download.spec
src/download-wrapping.c

index c93f6b8..fa8585c 100755 (executable)
@@ -1,7 +1,7 @@
 
 Name:  capi-web-url-download
 Summary:       CAPI for content download with web url
-Version:       1.2.7
+Version:       1.2.8
 Release:       0
 Group:         Development/Libraries
 License:       Apache-2.0
index a8837a7..3f7225e 100755 (executable)
@@ -97,9 +97,9 @@ int download_set_network_type(int download_id,
 {
        TRACE_INFO("");
 
-       int bIsTelephonyFeatureSupported = 0;
-       int bIsWifiFeatureSupported = 0;
-       int bIsWifiDirectFeatureSupported = 0;
+       bool bIsTelephonyFeatureSupported = 0;
+       bool bIsWifiFeatureSupported = 0;
+       bool 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, handle);
+       return dp_interface_get_notification_service_handle(download_id, (int)type, (void **)handle);
 }
 
 int download_set_notification_title(int download_id, const char *title)