[PATCH 30/42] m68k/mcf52235/startup/init52235.c: Fix warning
Joel Sherrill
joel.sherrill at oarcorp.com
Fri Oct 17 15:23:46 UTC 2014
---
c/src/lib/libbsp/m68k/mcf52235/startup/init52235.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/m68k/mcf52235/startup/init52235.c b/c/src/lib/libbsp/m68k/mcf52235/startup/init52235.c
index 0d76e41..3769b75 100644
--- a/c/src/lib/libbsp/m68k/mcf52235/startup/init52235.c
+++ b/c/src/lib/libbsp/m68k/mcf52235/startup/init52235.c
@@ -36,8 +36,7 @@ void Init52235(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