diff options
| author | [email protected] <[email protected]> | 2012-11-23 02:40:32 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-23 02:40:32 +0000 |
| commit | 44eaae8c80cfd320bb81fce14aec60f207fb240f (patch) | |
| tree | 825b852c6eccebd9fd655271ee3b94d5cb8ccd6a /components/drivers/serial | |
| parent | ffbd0a167379c3fe4c31a4d0f65d7c3adfd4f16a (diff) | |
export more symbols of PThread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2433 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/serial')
| -rw-r--r-- | components/drivers/serial/serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/drivers/serial/serial.c b/components/drivers/serial/serial.c index 50f4f106db..f73325a440 100644 --- a/components/drivers/serial/serial.c +++ b/components/drivers/serial/serial.c @@ -12,6 +12,7 @@ * 2006-03-13 bernard first version * 2012-05-15 lgnq modified according bernard's implementation. * 2012-05-28 bernard code cleanup + * 2012-11-23 bernard fix compiler warning. */ #include <rthw.h> @@ -427,7 +428,7 @@ void rt_hw_serial_isr(struct rt_serial_device *serial) */ void rt_hw_serial_dma_tx_isr(struct rt_serial_device *serial) { - void *data_ptr; + const void *data_ptr; rt_size_t data_size; if (RT_EOK == rt_data_queue_pop(&(serial->tx_dq), &data_ptr, &data_size, 0)) |
