summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/cancelrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/cancelrun.c')
-rw-r--r--cpukit/posix/src/cancelrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/cancelrun.c b/cpukit/posix/src/cancelrun.c
index 59138ac1b7..3eda8edabe 100644
--- a/cpukit/posix/src/cancelrun.c
+++ b/cpukit/posix/src/cancelrun.c
@@ -53,7 +53,7 @@ void _POSIX_Threads_cancel_run(
/* Now we can delete the thread */
- the_thread->Wait.return_argument = (unsigned32 *)PTHREAD_CANCELED;
+ the_thread->Wait.return_argument = PTHREAD_CANCELED;
_Thread_Close(
_Objects_Get_information( the_thread->Object.id ),
the_thread