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

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


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

Not really critical, but we should probably fix this for consistency reasons.
If preferred, feel free to stash all changes into a single patch.

 dlls/msvcp100/tests/misc.c   |    2 +-
 dlls/msvcp100/tests/string.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcp100/tests/misc.c b/dlls/msvcp100/tests/misc.c
index 4740951..e85bf10 100644
--- a/dlls/msvcp100/tests/misc.c
+++ b/dlls/msvcp100/tests/misc.c
@@ -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
 
diff --git a/dlls/msvcp100/tests/string.c b/dlls/msvcp100/tests/string.c
index eb02bc5..c963169 100644
--- a/dlls/msvcp100/tests/string.c
+++ b/dlls/msvcp100/tests/string.c
@@ -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
 
-- 
2.7.1



More information about the wine-patches mailing list