summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kern/task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/task.c b/kern/task.c
index 57ad9849..735b9e59 100644
--- a/kern/task.c
+++ b/kern/task.c
@@ -202,7 +202,7 @@ task_create_kernel(
new_task);
else
snprintf (new_task->name, sizeof new_task->name, "(%.*s)",
- sizeof new_task->name - 3, parent_task->name);
+ (int) (sizeof new_task->name - 3), parent_task->name);
if (new_task_notification != NULL) {
task_reference (new_task);