From e64de133904fb4ee4bef30112242f9d3ff6609be Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Fri, 7 Dec 2018 16:41:35 +0900 Subject: [PATCH] Use %z format string for printing size_t types Change-Id: Ie1b3e0d0505ff1fb89ca5f4c25c04a236a391ff3 --- src/sclconnection-isf.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sclconnection-isf.cpp b/src/sclconnection-isf.cpp index 8b3cfbe..ca1a86c 100644 --- a/src/sclconnection-isf.cpp +++ b/src/sclconnection-isf.cpp @@ -183,8 +183,7 @@ static void slot_ise_show(const scim::HelperAgent *agent, int ic, char *buf, siz if (len > (sizeof(Ise_Context) + ise_context.imdata_size)) callback->on_set_mime_type(buf + sizeof(ise_context) + ise_context.imdata_size); } else { - LOGD("\n-=-= WARNING - buf %p len %lu size %lu \n", - buf, (long unsigned int)len, (long unsigned int)sizeof(ise_context)); + LOGD("\n-=-= WARNING - buf %p len %zu size %zu\n", buf, len, sizeof(ise_context)); } CSCLCoreUI* ui = impl->get_core_ui(); if (ui) { -- 2.34.1