diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-09-14 23:53:29 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-09-14 23:53:29 +0000 |
commit | 8bd136d2202c6706ac2166a31b90f1ec18139dea (patch) | |
tree | d78d7e4f1feb0b5982fbbcf709d247822fdac63a /nuttx/arch/sim/src/up_uipdriver.c | |
parent | cfb41fb64f57f0c6864254c6048f8d2967b6f60c (diff) | |
download | px4-nuttx-8bd136d2202c6706ac2166a31b90f1ec18139dea.tar.gz px4-nuttx-8bd136d2202c6706ac2166a31b90f1ec18139dea.tar.bz2 px4-nuttx-8bd136d2202c6706ac2166a31b90f1ec18139dea.zip |
Fix tapdev
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@342 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sim/src/up_uipdriver.c')
-rw-r--r-- | nuttx/arch/sim/src/up_uipdriver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/sim/src/up_uipdriver.c b/nuttx/arch/sim/src/up_uipdriver.c index 4b95ebe23..a2676d917 100644 --- a/nuttx/arch/sim/src/up_uipdriver.c +++ b/nuttx/arch/sim/src/up_uipdriver.c @@ -106,7 +106,7 @@ void uipdriver_loop(void) { int i; - uip_len = tapdev_read((char*)uip_buf, UIP_BUFSIZE); + uip_len = tapdev_read((unsigned char*)uip_buf, UIP_BUFSIZE); if (uip_len > 0) { if (BUF->type == htons(UIP_ETHTYPE_IP)) |