1
0
Fork 0
forked from len0rd/rockbox

iPod: Make current_tick signed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8003 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-11-19 21:51:00 +00:00
parent 2c836341ed
commit e3367212bd

View file

@ -68,7 +68,7 @@ struct mutex
/* global tick variable */ /* global tick variable */
#if (CONFIG_CPU==PP5020) #if (CONFIG_CPU==PP5020)
/* A temporary hack until timer interrupt is enabled - use the RTC */ /* 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 #else
extern long current_tick; extern long current_tick;
#endif #endif