summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-02-20 11:46:57 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-02-20 11:46:57 +0000
commit48b1a2d39d1678c0dfa7b2271c29c52b6c8169d0 (patch)
tree51780a014f2a1a108096cfbc0e04ce6cf52a0c08
parent03862292a2c619951053c58844e0346dbe1bbe5c (diff)
downloadrockbox-48b1a2d39d1678c0dfa7b2271c29c52b6c8169d0.tar.gz
rockbox-48b1a2d39d1678c0dfa7b2271c29c52b6c8169d0.tar.bz2
rockbox-48b1a2d39d1678c0dfa7b2271c29c52b6c8169d0.zip
Fix the r29343 red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29344 a1c6a512-1295-4272-9138-f99709370657
-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)
*/
void format_time(char* buf, int buf_size, long t)
{
- int const time = ABS(t / 1000);
+ int const time = abs(t / 1000);
int const hours = time / 3600;
int const minutes = time / 60 - hours * 60;
int const seconds = time % 60;