Fix dlog warnings 31/197831/1 accepted/tizen/unified/20190117.151822 submit/tizen/20190116.045852
authorSaulo A. Moraes <s.moraes@samsung.com>
Wed, 16 Jan 2019 13:25:54 +0000 (11:25 -0200)
committerSaulo A. Moraes <s.moraes@samsung.com>
Wed, 16 Jan 2019 13:26:04 +0000 (11:26 -0200)
Change-Id: I1461e460a1284145a9c567d38a292a463e87dff0

server/src/PrivacyGuardDb.cpp
test/tc-dlp-performance.c

index 3d5a28e..a9dc791 100644 (file)
@@ -923,7 +923,7 @@ PrivacyGuardDb::PgGetAllMonitorPolicy(std::list < std::pair < std::string, int >
        sqlite3_finalize(m_stmt);
 
        m_dbMutex.unlock();
-       PG_LOGD("monitorPolicyList.size() is [%d]", monitorPolicyList.size());
+       PG_LOGD("monitorPolicyList.size() is [%zu]", monitorPolicyList.size());
        if(monitorPolicyList.size() > 0) {
                res = PRIV_GUARD_ERROR_SUCCESS;
        } else {
index 7fecff2..d82f19e 100644 (file)
@@ -337,7 +337,7 @@ static void __test_privacy_guard_client_dlp_string_match(int number_of_execution
                }
        }
 
-       printf("Sending %d bytes\n", strlen(packet_to_send));
+       printf("Sending %lu bytes\n", strlen(packet_to_send));
 
        for (count = 0; count < number_of_executions; count++) {
                if (show_clock)