summaryrefslogtreecommitdiff
path: root/src/thread_amiga.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread_amiga.m')
-rw-r--r--src/thread_amiga.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_amiga.m b/src/thread_amiga.m
index 1b4ed864..06f99b5f 100644
--- a/src/thread_amiga.m
+++ b/src/thread_amiga.m
@@ -53,7 +53,7 @@ functionWrapper(void)
if (thread->detached)
detached = true;
else if (thread->joinTask != NULL)
- Signal(thread->joinTask, 1 << thread->joinSigBit);
+ Signal(thread->joinTask, (1ul << thread->joinSigBit));
} @finally {
ReleaseSemaphore(&thread->semaphore);
}