summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 5b560dee16..fa34c21f4e 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -894,7 +894,7 @@ char* skip_whitespace(char* const str)
894 */ 894 */
895void format_time(char* buf, int buf_size, long t) 895void format_time(char* buf, int buf_size, long t)
896{ 896{
897 int const time = ABS(t / 1000); 897 int const time = abs(t / 1000);
898 int const hours = time / 3600; 898 int const hours = time / 3600;
899 int const minutes = time / 60 - hours * 60; 899 int const minutes = time / 60 - hours * 60;
900 int const seconds = time % 60; 900 int const seconds = time % 60;