diff options
Diffstat (limited to 'src/lib/thread.c')
-rw-r--r-- | src/lib/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/thread.c b/src/lib/thread.c index 944c75e19c..8b58ca0f3e 100644 --- a/src/lib/thread.c +++ b/src/lib/thread.c @@ -251,7 +251,7 @@ static void threads_initialize(void) set_current_thread(t); - t->stack_orig = (uintptr_t)NULL; /* We never free the main thread */ + t->stack_orig = 0; /* We never free the main thread */ t->id = 0; t->can_yield = 1; |