[PATCH 31/42] m68k/mcf5329/startup/init5329.c: Fix warning
Joel Sherrill
joel.sherrill at oarcorp.com
Fri Oct 17 15:23:47 UTC 2014
---
c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c | 3 +--
1 file changed, 1 insertion(+), 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 f85bd51..ffc71c8 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++) {
--
1.9.3
More information about the devel
mailing list