Commit 676b6b0f authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

ntdll: Fix number of arguments passed to mmap_remove_reserved_area in apple_create_wine_thread.

This fixes a regression introduced by 62520943Signed-off-by: 's avatarGijs Vermeulen <gijsvrm@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent c750ae6b
......@@ -1067,7 +1067,7 @@ static void apple_create_wine_thread( void *arg )
if (!pthread_attr_getstacksize( &attr, &info.desired_size ) &&
mmap_enum_reserved_areas( apple_alloc_thread_stack, &info, 1 ))
{
mmap_remove_reserved_area( info.stack, info.desired_size, 0 );
mmap_remove_reserved_area( info.stack, info.desired_size );
pthread_attr_setstackaddr( &attr, (char*)info.stack + info.desired_size );
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment