Dlog Print Format Updates 58/195258/1 accepted/tizen/unified/20181217.142237 submit/tizen/20181212.095503 submit/tizen/20181214.061228
authorDewal Agarwal <d1.agarwal@samsung.com>
Wed, 12 Dec 2018 04:33:11 +0000 (10:03 +0530)
committerDewal Agarwal <d1.agarwal@samsung.com>
Wed, 12 Dec 2018 04:33:11 +0000 (10:03 +0530)
Change-Id: Ic06b92ca4619f9da016eeca16bd6be9aabead5ce
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
src/agent/PluginLoader.cpp
src/server/ActiveUserMonitor.cpp

index da09815..41ef066 100644 (file)
@@ -36,7 +36,7 @@ PluginLoader::PluginLoader(AgentUtil& agentUtil) :
                throw std::runtime_error("Plugin loading failed");
        }
 
-       _I("%u plugins loaded", __plugins.size());
+       _I("%zu plugins loaded", __plugins.size());
 }
 
 PluginLoader::~PluginLoader()
index 4110d68..7cd47fa 100644 (file)
@@ -68,7 +68,7 @@ void ActiveUserMonitor::__onUserSessionStarted(GDBusConnection* conn, const gcha
        g_variant_get_child(param, 0, "t", &uid);
        IF_FAIL_VOID_TAG(uid != 0, _W, "UID == 0");
 
-       _D("UID: %llu", uid);
+       _D("UID: %llu", (long long unsigned int)uid);
 
        static_cast<ActiveUserMonitor*>(userData)->__add(static_cast<uid_t>(uid));
 }