m68k/mcf5329/startup/init5329.c: Fix warning

This commit is contained in:
Joel Sherrill
2014-10-17 08:50:11 -05:00
parent 597caedea9
commit fd0dfd471e

View File

@@ -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++) {