More non-cppthreads build fixes

This commit is contained in:
RichardG867
2024-01-09 20:28:10 -03:00
parent 30043d7b00
commit 02a1a8ec1b
4 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ thread_t *
thread_create_named(void (*func)(void *param), void *param, const char *name)
{
uintptr_t bt = _beginthread(func, 0, param);
plat_set_thread_name(bt, name);
plat_set_thread_name((void *) bt, name);
return ((thread_t *) bt);
}