summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-11-19 21:51:00 +0000
committerDave Chapman <dave@dchapman.com>2005-11-19 21:51:00 +0000
commite3367212bd8a25cfe6468aa20adaacf4c5b0b2d4 (patch)
tree1de7dc484a8ba97948ba9e97aed9d80111b0afbd
parent2c836341edfc7336a4792f8085d00bf9c8fd7b47 (diff)
downloadrockbox-e3367212bd8a25cfe6468aa20adaacf4c5b0b2d4.zip
rockbox-e3367212bd8a25cfe6468aa20adaacf4c5b0b2d4.tar.gz
rockbox-e3367212bd8a25cfe6468aa20adaacf4c5b0b2d4.tar.bz2
rockbox-e3367212bd8a25cfe6468aa20adaacf4c5b0b2d4.tar.xz
iPod: Make current_tick signed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8003 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h
index ab966da..5e43e2e 100644
--- a/firmware/export/kernel.h
+++ b/firmware/export/kernel.h
@@ -68,7 +68,7 @@ struct mutex
/* global tick variable */
#if (CONFIG_CPU==PP5020)
/* A temporary hack until timer interrupt is enabled - use the RTC */
-#define current_tick ((*((volatile unsigned long*)0x60005010))/10000)
+#define current_tick ((*((volatile long*)0x60005010))/10000)
#else
extern long current_tick;
#endif