[5/5] msvcr90/tests: Use brackets to protect arguments in call_func2 macro.

Sebastian Lackner sebastian at fds-team.de
Wed Feb 10 19:18:03 CST 2016


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
 dlls/msvcr90/tests/msvcr90.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msvcr90/tests/msvcr90.c b/dlls/msvcr90/tests/msvcr90.c
index 184ce76..5e16e8f 100644
--- a/dlls/msvcr90/tests/msvcr90.c
+++ b/dlls/msvcr90/tests/msvcr90.c
@@ -283,7 +283,7 @@ static void* do_call_func2(void *func, void *_this, const void* arg)
 #endif
 
 #define call_func1(func,_this)   do_call_func1(func,_this)
-#define call_func2(func,_this,a) do_call_func2(func,_this,(const void*)a)
+#define call_func2(func,_this,a) do_call_func2(func,_this,(const void*)(a))
 
 #else
 
-- 
2.7.1



More information about the wine-patches mailing list