Commit 0babb896 authored by Michael Niedermayer's avatar Michael Niedermayer

compat/avisynth/windowsPorts/windows2linux: Add () to protect macro arguments

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b7c19aee
...@@ -52,8 +52,8 @@ namespace avxsynth { ...@@ -52,8 +52,8 @@ namespace avxsynth {
// //
// Functions // Functions
// //
#define MAKEDWORD(a,b,c,d) ((a << 24) | (b << 16) | (c << 8) | (d)) #define MAKEDWORD(a,b,c,d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
#define MAKEWORD(a,b) ((a << 8) | (b)) #define MAKEWORD(a,b) (((a) << 8) | (b))
#define lstrlen strlen #define lstrlen strlen
#define lstrcpy strcpy #define lstrcpy strcpy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment