From 6ee4d97b30f6ed04951978b425caf7709719f361 Mon Sep 17 00:00:00 2001 From: Tezaswy Singh Date: Tue, 8 Jan 2019 22:29:30 +0530 Subject: Changes made due to change in Dlog API format Change-Id: I8fd420ba7a45107ed563086fc6f2b75f5fd099e6 --- clock-viewer/src/clock-viewer-default-clock-fallback.c | 4 ++-- clock-viewer/src/clock-viewer-default-clock.c | 2 +- default-clock/src/digital.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clock-viewer/src/clock-viewer-default-clock-fallback.c b/clock-viewer/src/clock-viewer-default-clock-fallback.c index da0a716..5781447 100644 --- a/clock-viewer/src/clock-viewer-default-clock-fallback.c +++ b/clock-viewer/src/clock-viewer-default-clock-fallback.c @@ -466,7 +466,7 @@ static int _clock_viewer_default_clock_fallback_get_formatted_ampm_from_utc_time (*ampm_len) = u_strlen(u_formatted_str); buf = u_austrncpy(buf, u_formatted_str, buf_len); - _SDBG("ampm[%d][%s][%d]", formatted_str_len, buf, intime); + _SDBG("ampm[%d][%s][%ld]", formatted_str_len, buf, intime); return 0; } @@ -499,7 +499,7 @@ static int _clock_viewer_default_clock_fallback_get_formatted_time_from_utc_time } buf = u_austrncpy(buf, u_formatted_str, buf_len); - _SDBG("time[%d][%s][%d]", formatted_str_len, buf, intime); + _SDBG("time[%d][%s][%ld]", formatted_str_len, buf, intime); return 0; } diff --git a/clock-viewer/src/clock-viewer-default-clock.c b/clock-viewer/src/clock-viewer-default-clock.c index e551605..e92e068 100644 --- a/clock-viewer/src/clock-viewer-default-clock.c +++ b/clock-viewer/src/clock-viewer-default-clock.c @@ -208,7 +208,7 @@ HAPI int clock_viewer_default_clock_resume(void *data) s_default_clock_info.alarm_id = 0; } - _DBG("Add alarm start[%d], interval[%d]", start, interval); + _DBG("Add alarm start[%ld], interval[%ld]", start, interval); s_default_clock_info.alarm_id = clock_viewer_util_alarm_add(start, interval, __clock_viewer_default_clock_alarm_cb, data); if (s_default_clock_info.alarm_id == 0) { diff --git a/default-clock/src/digital.c b/default-clock/src/digital.c index fdfb5fd..0a4676a 100644 --- a/default-clock/src/digital.c +++ b/default-clock/src/digital.c @@ -622,7 +622,7 @@ static int __get_formatted_ampm_from_utc_time(void *data, time_t intime, char *b (*ampm_len) = u_strlen(u_formatted_str); buf = u_austrncpy(buf, u_formatted_str, buf_len); - _SECURE_D("ampm:(%d)[%s][%d]", formatted_str_len, buf, intime); + _SECURE_D("ampm:(%d)[%s][%ld]", formatted_str_len, buf, intime); return 0; } @@ -660,7 +660,7 @@ static int __get_formatted_time_from_utc_time(void *data, time_t intime, char *b _E("formatted_str_len is less than 0"); buf = u_austrncpy(buf, u_formatted_str, buf_len); - _SECURE_D("time:(%d)[%s][%d]", formatted_str_len, buf, intime); + _SECURE_D("time:(%d)[%s][%ld]", formatted_str_len, buf, intime); return 0; } -- cgit v1.2.3