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

This fixes a regression introduced by 625209433f

Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2020-05-22 18:50:09 +02:00 committed by Alexandre Julliard
parent c750ae6b9d
commit 676b6b0fd7
1 changed files with 1 additions and 1 deletions

View File

@ -1067,7 +1067,7 @@ static void apple_create_wine_thread( void *arg )
if (!pthread_attr_getstacksize( &attr, &info.desired_size ) && if (!pthread_attr_getstacksize( &attr, &info.desired_size ) &&
mmap_enum_reserved_areas( apple_alloc_thread_stack, &info, 1 )) 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 ); pthread_attr_setstackaddr( &attr, (char*)info.stack + info.desired_size );
} }
#endif #endif