diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-10-19 19:18:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-10-19 19:18:20 +0000 |
commit | e307735b24bec9f19a50f123c185b7e5f0d07014 (patch) | |
tree | c7898d6319f6a2b9b5200e0d6d9ef285b1f84c84 /c | |
parent | 2006-10-19 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-e307735b24bec9f19a50f123c185b7e5f0d07014.tar.bz2 |
2006-10-19 Joel Sherrill <joel@OARcorp.com>
* mongoosev/duart/mg5uart.c: Change type to unsigned.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libcpu/mips/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c | 6 |
2 files changed, 7 insertions, 3 deletions
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 <joel@OARcorp.com> + + * mongoosev/duart/mg5uart.c: Change type to unsigned. + 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org> * 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, |