summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-17 08:50:11 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-19 17:00:57 -0500
commitfd0dfd471ec567428fd2405024c16c72ca6e12dc (patch)
treeeafb3a18e8cbb83dcb7f2eface36c00666e8790a
parent597caedea9d93bf65d348419797217a250d51ddc (diff)
downloadrtems-fd0dfd471ec567428fd2405024c16c72ca6e12dc.tar.bz2
m68k/mcf5329/startup/init5329.c: Fix warning
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c b/c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c
index f85bd511a4..ffc71c8fa0 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c
+++ b/c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c
@@ -36,8 +36,7 @@ void Init5329(void)
/*
* Copy the vector table to RAM
*/
-
- if (&_VBR != _INTERRUPT_VECTOR) {
+ if (&_VBR != (void *) _INTERRUPT_VECTOR) {
sp = (uint32_t *) _INTERRUPT_VECTOR;
dp = (uint32_t *) &_VBR;
for (i = 0; i < 256; i++) {