core: Express -1 as ~0 in thread_status_t cast #21539
Annotations
1 warning
core/include/sched.h#L190
Uncrustify proposes the following patch:
--- a/core/include/sched.h
+++ b/core/include/sched.h
@@ -184,7 +184,7 @@ typedef enum {
*/
#define STATUS_ON_RUNQUEUE STATUS_RUNNING /**< to check if on run queue:
`st >= STATUS_ON_RUNQUEUE` */
-#define STATUS_NOT_FOUND ((thread_status_t)~0) /**< Describes an illegal thread status */
+#define STATUS_NOT_FOUND ((thread_status_t) ~0) /**< Describes an illegal thread status */
/** @} */
/**
* @def SCHED_PRIO_LEVELS
|
The logs for this run have expired and are no longer available.
Loading