summaryrefslogtreecommitdiff
path: root/nuttx/sched/getpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/getpid.c')
-rw-r--r--nuttx/sched/getpid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/getpid.c b/nuttx/sched/getpid.c
index f41467d9f..259d78091 100644
--- a/nuttx/sched/getpid.c
+++ b/nuttx/sched/getpid.c
@@ -81,5 +81,5 @@ pid_t getpid(void)
* ready-to-run task list
*/
- return ((FAR _TCB*)g_readytorun.head)->pid;
+ return ((FAR struct tcb_s*)g_readytorun.head)->pid;
}