Fix dlog format error 17/195517/1 accepted/tizen/unified/20181217.142254 submit/tizen/20181214.062542
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 14 Dec 2018 05:58:08 +0000 (14:58 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 14 Dec 2018 05:58:27 +0000 (14:58 +0900)
Change-Id: I5ee65566bb9c6a485aa32b4665fc982e7e40a5e6
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/org.tizen.download-manager.spec
src/download-manager-history-db.cpp
src/download-manager-item.cpp
src/download-manager-items.cpp

index cd279a6e81c182eae273497e267e73ac4365e936..9f1ed64ef978d28b223204d352ea6a68123e0c9f 100755 (executable)
@@ -1,7 +1,7 @@
 %define _ux_define tizen2.3
 Name:  org.tizen.download-manager
 Summary:       Application for support of the content download
-Version:       0.3.29
+Version:       0.3.30
 Release:       1
 License:       Flora-1.1
 Group:         misc
index ff31b03517ad9fe933d7dab4dc6e2deb5a4a938a..ff7e542ee20c6701a564534bcf6fe7b7dbda7407 100755 (executable)
@@ -925,7 +925,7 @@ bool DownloadHistoryDB::deleteMultipleItem(queue <unsigned int> &q)
                return false;
        }
 
-       DM_LOGI("queue size[%d]", q.size());
+       DM_LOGI("queue size[%lu]", q.size());
        while (!q.empty()) {
                ret = sqlite3_prepare_v2(historyDb, "delete from history where historyid=?",
                        -1, &stmt, NULL);
index 5cc59345be47fe52a9769278437db71fb63b8202..53869de4e92c2c13a9b9650c923420ec5970a7ef 100755 (executable)
@@ -771,7 +771,7 @@ void Item::createHistoryId()
                        tempId = -1;
                        break;
                }
-               DM_LOGD("Random historyId[%ld]", m_historyId);
+               DM_LOGD("Random historyId[%u]", m_historyId);
        }
        m_historyId = tempId;
 }
index c27298495dfa281bf1caa6b921c41865e9d96635..6a14cdd33a06024b50612130d3d52bcb83e60198 100755 (executable)
@@ -38,7 +38,7 @@ bool Items::isExistedHistoryId(unsigned int id)
        vector <Item *>::iterator it;
        for (it = m_items.begin(); it != m_items.end(); ++it) {
                if ((*it)->getHistoryId() == id ) {
-                       DM_SLOGD("historyId[%ld],title[%s]",
+                       DM_SLOGD("historyId[%u],title[%s]",
                                (*it)->getHistoryId(), (*it)->getTitle().c_str());
                        return true;
                }