Sebastian Lackner : msvcrt/tests: Use brackets to protect arguments in call_func2 macro.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 11 09:59:46 CST 2016


Module: wine
Branch: master
Commit: 340f1615bd01645c2f8747c6bcaa5f3e3409bd4a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=340f1615bd01645c2f8747c6bcaa5f3e3409bd4a

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu Feb 11 02:17:07 2016 +0100

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

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcrt/tests/cpp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msvcrt/tests/cpp.c b/dlls/msvcrt/tests/cpp.c
index e67e344..e3f7f99 100644
--- a/dlls/msvcrt/tests/cpp.c
+++ b/dlls/msvcrt/tests/cpp.c
@@ -146,7 +146,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
 




More information about the wine-cvs mailing list