diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-14 21:58:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-14 21:58:48 +0000 |
commit | 8ef41dcb207514cab2ef5683be26f53091bb94a6 (patch) | |
tree | 6683e7f17636acf3e9b492e947d0a0f08caa76bb /nuttx/examples/poll/select_listener.c | |
parent | 095a6f2fb2b290ef133f5c3818e6314b4f71f956 (diff) | |
download | px4-nuttx-8ef41dcb207514cab2ef5683be26f53091bb94a6.tar.gz px4-nuttx-8ef41dcb207514cab2ef5683be26f53091bb94a6.tar.bz2 px4-nuttx-8ef41dcb207514cab2ef5683be26f53091bb94a6.zip |
Changes for clean compilation with ZDS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1610 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/poll/select_listener.c')
-rw-r--r-- | nuttx/examples/poll/select_listener.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/examples/poll/select_listener.c b/nuttx/examples/poll/select_listener.c index a9b31465c..85ff57a5e 100644 --- a/nuttx/examples/poll/select_listener.c +++ b/nuttx/examples/poll/select_listener.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/poll/select_listener.c * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -115,7 +115,7 @@ void *select_listener(pthread_addr_t pvarg) timeout = FALSE; ready = FALSE; - ret = select(fd+1, &rfds, NULL, NULL, &tv); + ret = select(fd+1, (FAR fd_set*)&rfds, (FAR fd_set*)NULL, (FAR fd_set*)NULL, &tv); message("\nselect_listener: select returned: %d\n", ret); if (ret < 0) |