diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-20 22:39:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-20 22:39:56 +0000 |
commit | 630b4bdd3d2ca967f0e1d4f438f7f1761461dd31 (patch) | |
tree | f640e5eab1ce66cdeadd0ab3684ea326f56db8a5 /nuttx/sched/pthread_removejoininfo.c | |
parent | bd7dce092d36128a0f84e5544ccc857a45f6ba2f (diff) | |
download | px4-nuttx-630b4bdd3d2ca967f0e1d4f438f7f1761461dd31.tar.gz px4-nuttx-630b4bdd3d2ca967f0e1d4f438f7f1761461dd31.tar.bz2 px4-nuttx-630b4bdd3d2ca967f0e1d4f438f7f1761461dd31.zip |
Eliminating GCC dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@14 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/pthread_removejoininfo.c')
-rw-r--r-- | nuttx/sched/pthread_removejoininfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/pthread_removejoininfo.c b/nuttx/sched/pthread_removejoininfo.c index ecdc6d99e..33fb24391 100644 --- a/nuttx/sched/pthread_removejoininfo.c +++ b/nuttx/sched/pthread_removejoininfo.c @@ -81,7 +81,7 @@ * ************************************************************/ -join_t *pthread_removejoininfo(int pid) +join_t *pthread_removejoininfo(pid_t pid) { join_t *prev; join_t *join; @@ -89,7 +89,7 @@ join_t *pthread_removejoininfo(int pid) /* Find the entry with the matching pid */ for (prev = NULL, join = g_pthread_head; - (join && join->thread.pid != pid); + (join && (pid_t)join->thread != pid); prev = join, join = join->next); /* Remove it from the data set. */ |