summaryrefslogtreecommitdiffstats
path: root/src/lib/syscall_task.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/syscall_task.C')
-rw-r--r--src/lib/syscall_task.C7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/syscall_task.C b/src/lib/syscall_task.C
index 846163c8b..27272ef2e 100644
--- a/src/lib/syscall_task.C
+++ b/src/lib/syscall_task.C
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2010,2012 */
+/* COPYRIGHT International Business Machines Corp. 2010,2013 */
/* */
/* p1 */
/* */
@@ -159,7 +159,10 @@ tid_t task_wait_tid(tid_t tid, int* status, void** retval)
{
return static_cast<tid_t>(
reinterpret_cast<uint64_t>(
- _syscall3(TASK_WAIT,(void*)tid,status,retval)));
+ _syscall3(TASK_WAIT,
+ reinterpret_cast<void*>(static_cast<uint64_t>(tid)),
+ status,
+ retval)));
}
tid_t task_wait(int* status, void** retval)
OpenPOWER on IntegriCloud