Fix invalid data type of parameter 39/240439/1 accepted/tizen/unified/20200807.141018 submit/tizen/20200807.012059
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 6 Aug 2020 08:41:05 +0000 (17:41 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 6 Aug 2020 08:41:10 +0000 (17:41 +0900)
Change-Id: I0e64b2fea19ca48dac78e53c2ffa3cf2bbc6106b

packaging/download-provider.spec
provider/download-provider-notification-manager.c
provider/download-provider-queue-manager.c

index 6e7bb30..816c53e 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       download-provider
 Summary:    Download the contents in background
-Version:    2.1.121
+Version:    2.2.0
 Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0
index 3a7d949..ba38475 100644 (file)
@@ -540,14 +540,14 @@ void dp_notification_manager_kill()
        if (g_dp_notification_manager_tid > 0 &&
                        pthread_kill(g_dp_notification_manager_tid, 0) != ESRCH) {
                //send signal to notification thread
-               int status;
+               void *status;
                pthread_t tid;
                tid = g_dp_notification_manager_tid;
                CLIENT_MUTEX_LOCK(&g_dp_notification_manager_mutex);
                g_dp_notification_manager_tid = 0;
                pthread_cond_signal(&g_dp_notification_manager_cond);
                CLIENT_MUTEX_UNLOCK(&g_dp_notification_manager_mutex);
-               pthread_join(tid, (void **)&status);
+               pthread_join(tid, &status);
        }
 }
 #else
index 0d5e6c6..4555dab 100644 (file)
@@ -302,13 +302,13 @@ void dp_queue_manager_kill()
        if (g_dp_queue_manager_tid > 0 &&
                        pthread_kill(g_dp_queue_manager_tid, 0) != ESRCH) {
                //send signal to queue thread
-               int status;
+               void *status;
                pthread_t tid;
                tid = g_dp_queue_manager_tid;
                CLIENT_MUTEX_LOCK(&g_dp_queue_manager_mutex);
                g_dp_queue_manager_tid = 0;
                pthread_cond_signal(&g_dp_queue_manager_cond);
                CLIENT_MUTEX_UNLOCK(&g_dp_queue_manager_mutex);
-               pthread_join(tid, (void **)&status);
+               pthread_join(tid, &status);
        }
 }