Fix mismatch between log format and actual parameter
authorJi-hoon Lee <dalton.lee@samsung.com>
Wed, 24 Jul 2019 07:49:54 +0000 (16:49 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 5 Aug 2019 11:01:27 +0000 (20:01 +0900)
Change-Id: Ibd663ab6d387df6e198c7ee6a2e25c4c5d87405f

plugins/wakeup-manager/src/heap_tracer.cpp

index 2fc256e..8d7b13d 100644 (file)
@@ -121,7 +121,7 @@ HeapTracer::~HeapTracer()
 bool HeapTracer::Insert(void *ptr, std::string description, size_t size)
 {
     if (HEAP_TRACER_LOG_ENABLED) {
-        LOGD("Heap allocated %p [size %d] : %s", ptr, size, description.c_str());
+        LOGD("Heap allocated %p [size %zu] : %s", ptr, size, description.c_str());
     }
 
     AllocationEntry entry;