diff options
author | Dave Chapman <dave@dchapman.com> | 2005-11-19 21:51:00 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-11-19 21:51:00 +0000 |
commit | e3367212bd8a25cfe6468aa20adaacf4c5b0b2d4 (patch) | |
tree | 1de7dc484a8ba97948ba9e97aed9d80111b0afbd | |
parent | 2c836341edfc7336a4792f8085d00bf9c8fd7b47 (diff) | |
download | rockbox-e3367212bd8a25cfe6468aa20adaacf4c5b0b2d4.tar.gz rockbox-e3367212bd8a25cfe6468aa20adaacf4c5b0b2d4.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index ab966da78f..5e43e2e9b5 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h | |||
@@ -68,7 +68,7 @@ struct mutex | |||
68 | /* global tick variable */ | 68 | /* global tick variable */ |
69 | #if (CONFIG_CPU==PP5020) | 69 | #if (CONFIG_CPU==PP5020) |
70 | /* A temporary hack until timer interrupt is enabled - use the RTC */ | 70 | /* A temporary hack until timer interrupt is enabled - use the RTC */ |
71 | #define current_tick ((*((volatile unsigned long*)0x60005010))/10000) | 71 | #define current_tick ((*((volatile long*)0x60005010))/10000) |
72 | #else | 72 | #else |
73 | extern long current_tick; | 73 | extern long current_tick; |
74 | #endif | 74 | #endif |