From 96cc679b31017fbaa78df271e0eec238cf3f68d5 Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Wed, 16 Jan 2019 15:16:58 +0900 Subject: [PATCH] Fix dlog format error for emulator Change-Id: I00a278f160704b956b4edde1e8d47c6eb05e91b9 --- emulator/src/ui/bt-main-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emulator/src/ui/bt-main-view.c b/emulator/src/ui/bt-main-view.c index 605f2ad..73561d3 100644 --- a/emulator/src/ui/bt-main-view.c +++ b/emulator/src/ui/bt-main-view.c @@ -181,7 +181,7 @@ static char *__bt_main_device_label_get(void *data, Evas_Object *obj, } } - BT_DBG("ugd->phone_name : %s[%d]", ugd->phone_name, strlen(ugd->phone_name)); + BT_DBG("ugd->phone_name : %s[%zd]", ugd->phone_name, strlen(ugd->phone_name)); /* Check the utf8 valitation & Fill the NULL in the invalid location */ if (!g_utf8_validate(ugd->phone_name, -1, (const char **)&ptr)) *ptr = '\0'; @@ -194,7 +194,7 @@ static char *__bt_main_device_label_get(void *data, Evas_Object *obj, g_strlcpy(buf, ugd->phone_name, BT_GLOBALIZATION_STR_LENGTH); FN_END; - BT_DBG("buf : %s[%d]", buf, strlen(buf)); + BT_DBG("buf : %s[%zd]", buf, strlen(buf)); return strdup(buf); } else if (!strcmp("elm.text.sub", part)) { g_strlcpy(buf, BT_STR_MY_DEVICE, -- 2.7.4