Commit cf718fe9 authored by Alexander Barkov's avatar Alexander Barkov

Post-fix for WL#3090.

Compilation failure problems on non-i386 platforms.
Adding missing parenthesis.
parent 4e4122b9
...@@ -50,7 +50,7 @@ extern "C" { ...@@ -50,7 +50,7 @@ extern "C" {
#define MY_PUT_MB2(s, code) { *((uint16*)(s))= (code); } #define MY_PUT_MB2(s, code) { *((uint16*)(s))= (code); }
#else #else
#define MB2(x) (x) #define MB2(x) (x)
#define MY_PUT_MB2(s, code) { s[0]= code >> 8; s[1]= code & 0xFF; } #define MY_PUT_MB2(s, code) { (s)[0]= code >> 8; (s)[1]= code & 0xFF; }
#endif #endif
......
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