diff options
Diffstat (limited to 'src/kernel/task.c')
-rw-r--r-- | src/kernel/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/task.c b/src/kernel/task.c index 8d8de86..93310bc 100644 --- a/src/kernel/task.c +++ b/src/kernel/task.c @@ -296,7 +296,7 @@ void unwait(struct task_state *task, struct wait wait) { default: PANIC("Unwait matched with unrecognized wait mode."); } - for (uint8_t i = 0; i < MAX_WAITS; ++i) + for (i = 0; i < MAX_WAITS; ++i) task->waits[i].mode = NONE; task->waiting = false; return; |