Explorar o código

Fix compile error

...as suggested by Peter Pearse

Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk %!s(int64=17) %!d(string=hai) anos
pai
achega
7ec68862a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cpu/arm1136/omap24xx/interrupts.c

+ 1 - 1
cpu/arm1136/omap24xx/interrupts.c

@@ -37,7 +37,7 @@
 #define TIMER_LOAD_VAL 0
 
 /* macro to read the 32 bit timer */
-#define READ_TIMER (*(volatile ulong *)(CFG_TIMERBASE+TCRR))
+#define READ_TIMER (*((volatile ulong *)(CFG_TIMERBASE+TCRR)))
 
 static ulong timestamp;
 static ulong lastinc;