diff options
Diffstat (limited to 'nuttx/sched/sched_reprioritize.c')
-rw-r--r-- | nuttx/sched/sched_reprioritize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/sched_reprioritize.c b/nuttx/sched/sched_reprioritize.c index c9e1651047..86385f9494 100644 --- a/nuttx/sched/sched_reprioritize.c +++ b/nuttx/sched/sched_reprioritize.c @@ -38,7 +38,7 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> + #include <sched.h> #include <errno.h> @@ -115,7 +115,7 @@ int sched_reprioritize(FAR _TCB *tcb, int sched_priority) * to once it posts the semaphore. */ - tcb->base_priority = (ubyte)sched_priority; + tcb->base_priority = (uint8_t)sched_priority; /* Discard any pending reprioritizations as well */ |