forked from Imagelibrary/rtems
m68k/mcf5225x: Fix warnings
This commit is contained in:
@@ -479,7 +479,7 @@ static int IntUartTaskRead(int minor)
|
||||
Description : This reads a character from the internal uart. It returns
|
||||
to the caller without blocking if not character is waiting.
|
||||
***************************************************************************/
|
||||
/*static*/
|
||||
static
|
||||
int IntUartPollRead(int minor)
|
||||
{
|
||||
if ((MCF_UART_USR(minor) & MCF_UART_USR_RXRDY) == 0)
|
||||
|
||||
@@ -37,7 +37,7 @@ void Init5225x(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++) {
|
||||
|
||||
Reference in New Issue
Block a user