msvcp100/tests: Use brackets to protect arguments in call_func2 macro.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-02-11 02:16:53 +01:00 committed by Alexandre Julliard
parent 2ea17846b8
commit 5fd226ac06
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ static void init_thiscall_thunk(void)
}
#define call_func1(func,_this) call_thiscall_func1(func,_this)
#define call_func2(func,_this,a) call_thiscall_func2(func,_this,(const void*)a)
#define call_func2(func,_this,a) call_thiscall_func2(func,_this,(const void*)(a))
#else

View File

@ -67,7 +67,7 @@ static void init_thiscall_thunk(void)
}
#define call_func1(func,_this) call_thiscall_func1(func,_this)
#define call_func2(func,_this,a) call_thiscall_func2(func,_this,(const void*)a)
#define call_func2(func,_this,a) call_thiscall_func2(func,_this,(const void*)(a))
#else