From e307735b24bec9f19a50f123c185b7e5f0d07014 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 19 Oct 2006 19:18:20 +0000 Subject: 2006-10-19 Joel Sherrill * mongoosev/duart/mg5uart.c: Change type to unsigned. --- c/src/lib/libcpu/mips/ChangeLog | 4 ++++ c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'c') diff --git a/c/src/lib/libcpu/mips/ChangeLog b/c/src/lib/libcpu/mips/ChangeLog index 571e0d71fd..db98f5ae65 100644 --- a/c/src/lib/libcpu/mips/ChangeLog +++ b/c/src/lib/libcpu/mips/ChangeLog @@ -1,3 +1,7 @@ +2006-10-19 Joel Sherrill + + * mongoosev/duart/mg5uart.c: Change type to unsigned. + 2006-10-17 Ralf Corsépius * configure.ac: Require autoconf-2.60. Require automake-1.10. diff --git a/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c b/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c index 80ce12a2cd..56f03907ae 100644 --- a/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c +++ b/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c @@ -579,14 +579,14 @@ MG5UART_STATIC void mg5uart_process_isr_rx_ready( int minor ) { - uint32_t pMG5UART_port; - unsigned char c; + uint32_t pMG5UART_port; + char c; pMG5UART_port = Console_Port_Tbl[minor].ulCtrlPort2; /* reading the RX buffer automatically resets the interrupt flag */ - c = (unsigned char) MG5UART_GETREG(pMG5UART_port, MG5UART_RX_BUFFER); + c = (char) MG5UART_GETREG(pMG5UART_port, MG5UART_RX_BUFFER); rtems_termios_enqueue_raw_characters( Console_Port_Data[minor].termios_data, -- cgit v1.2.3