m68k/mcf52235/startup/init52235.c: Fix warning

This commit is contained in:
Joel Sherrill
2014-10-17 08:49:46 -05:00
parent 9ffca50244
commit 597caedea9

View File

@@ -36,8 +36,7 @@ void Init52235(void)
/* /*
* Copy the vector table to RAM * Copy the vector table to RAM
*/ */
if (&_VBR != (void *) _INTERRUPT_VECTOR) {
if (&_VBR != _INTERRUPT_VECTOR) {
sp = (uint32_t *) _INTERRUPT_VECTOR; sp = (uint32_t *) _INTERRUPT_VECTOR;
dp = (uint32_t *) &_VBR; dp = (uint32_t *) &_VBR;
for (i = 0; i < 256; i++) { for (i = 0; i < 256; i++) {