[Non-ACR]resolving build error for x86_64 & aarch64 71/226271/2 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.0/unified/20201030.120705 accepted/tizen/6.0/unified/hotfix/20201103.051635 accepted/tizen/6.5/unified/20211028.101354 accepted/tizen/7.0/unified/20221110.060539 accepted/tizen/7.0/unified/hotfix/20221116.105241 accepted/tizen/unified/20200302.125822 submit/tizen/20200228.110557 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 submit/tizen_6.5/20211028.162201 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release
authorAbhishek Vijay <abhishek.v@samsung.com>
Fri, 28 Feb 2020 10:56:56 +0000 (16:26 +0530)
committerAbhishek Vijay <abhishek.v@samsung.com>
Fri, 28 Feb 2020 10:57:41 +0000 (10:57 +0000)
Change-Id: I386004c374893858b16f2ba5a016749fd9cb3e2d
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
src/server/battery-stats/BatteryMonitor.cpp

index e0fe8aa..b8fde24 100644 (file)
@@ -280,7 +280,7 @@ bool BatteryMonitor::__processBatteryUsage()
 
        IF_FAIL_RETURN_TAG(ret, true, _E, "Cannot read from heart cpu table");
        IF_FAIL_RETURN_TAG(heartCpuLog.size() > 0, true, _W, "Heart cpu data is not prepared");
-       _D("Read %zd rows from heart cpu table from %lld", heartCpuLog.size(), __lastHeartAccessTime);
+       _D("Read %zd rows from heart cpu table from %lld", heartCpuLog.size(), (long long int)__lastHeartAccessTime);
 
        __lastHeartAccessTime = heartCpuLog.back()[BATTERY_TIMESTAMP].asInt64();
        __updateLastInfo();