pkarashchenko commented on code in PR #1353: URL: https://github.com/apache/incubator-nuttx-apps/pull/1353#discussion_r996492804
########## examples/poll/select_listener.c: ########## @@ -77,18 +77,18 @@ void *select_listener(pthread_addr_t pvarg) /* Open the FIFO for non-blocking read */ printf("select_listener: Opening %s for non-blocking read\n", FIFO_PATH2); - fd = open(FIFO_PATH2, O_RDONLY|O_NONBLOCK); + fd = open(FIFO_PATH2, O_RDONLY | O_NONBLOCK); if (fd < 0) { printf("select_listener: ERROR Failed to open FIFO %s: %d\n", FIFO_PATH2, errno); close(fd); - return (void*)-1; + return (void *)-1; Review Comment: ```suggestion return (void *)(uintptr_t)-1; ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org