From: Wootak Jung Date: Wed, 16 Jan 2019 06:16:58 +0000 (+0900) Subject: Fix dlog format error for emulator X-Git-Tag: accepted/tizen/5.5/unified/20191031.014709^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_5.5_mobile_hotfix;p=apps%2Fnative%2Fug-bluetooth-efl.git Fix dlog format error for emulator Change-Id: I00a278f160704b956b4edde1e8d47c6eb05e91b9 --- 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,