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 6e7bb303174a7d2a69f103d8234f7ca4d3673150..816c53e7b1a950d4635806c238a7ecfa41d64585 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 3a7d949dedd4060e0ee48afa5ed5b9d327ae350d..ba3847554cbdf4e2e47409ce85100a8644438415 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 0d5e6c6c1cae823495483076380faa9c16def01b..4555dab871e447f0f7897d7a5b5e256c39d116f9 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);
        }
 }