summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clock-viewer/src/clock-viewer-default-clock-fallback.c4
-rw-r--r--clock-viewer/src/clock-viewer-default-clock.c2
-rw-r--r--default-clock/src/digital.c4
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;
}