summaryrefslogtreecommitdiff
path: root/src/condition_amiga.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/condition_amiga.m')
-rw-r--r--src/condition_amiga.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/condition_amiga.m b/src/condition_amiga.m
index ed21c756..bacb352a 100644
--- a/src/condition_amiga.m
+++ b/src/condition_amiga.m
@@ -40,7 +40,7 @@ of_condition_signal(of_condition_t *condition)
return true;
Signal(condition->waitingTasks->task,
- 1 << condition->waitingTasks->sigBit);
+ (1ul << condition->waitingTasks->sigBit));
condition->waitingTasks = condition->waitingTasks->next;
} @finally {
@@ -60,7 +60,7 @@ of_condition_broadcast(of_condition_t *condition)
while (condition->waitingTasks != NULL) {
Signal(condition->waitingTasks->task,
- 1 << condition->waitingTasks->sigBit);
+ (1ul << condition->waitingTasks->sigBit));
condition->waitingTasks = condition->waitingTasks->next;
}