Fix dlog format error for emulator 56/197756/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.014709 accepted/tizen/5.5/unified/mobile/hotfix/20201027.081339 accepted/tizen/5.5/unified/wearable/hotfix/20201027.122808 accepted/tizen/unified/20190116.160728 accepted/tizen/unified/20190117.151816 submit/tizen/20190116.045852 submit/tizen/20190116.062131 submit/tizen_5.5/20191031.000001 submit/tizen_5.5_mobile_hotfix/20201026.185101 submit/tizen_5.5_wearable_hotfix/20201026.184301 tizen_5.5.m2_release
authorWootak Jung <wootak.jung@samsung.com>
Wed, 16 Jan 2019 06:16:58 +0000 (15:16 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 16 Jan 2019 06:16:58 +0000 (15:16 +0900)
Change-Id: I00a278f160704b956b4edde1e8d47c6eb05e91b9

emulator/src/ui/bt-main-view.c

index 605f2ad..73561d3 100644 (file)
@@ -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,