Sebastian Huber started a new discussion on cpukit/include/rtems/rtems/optionsimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/236#note_112437 > rtems_option option_set > ) > { > return (option_set & RTEMS_NO_WAIT) ? true : false; I would rather fix this by changing these expressions. The result type of `(option_set & RTEMS_NO_WAIT)` is an integer and not a bool. This should be `return (option_set & RTEMS_NO_WAIT) != 0;` and `return (option_set & RTEMS_EVENT_ANY) != 0;`. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/236#note_112437 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
