Commit 15f08dbe authored by Alexander Barkov's avatar Alexander Barkov

Post-fix for WL#3090.

Compilation failure problems on non-i386 platforms.
Adding missing parenthesis.
parent 8ccd536e
......@@ -50,7 +50,7 @@ extern "C" {
#define MY_PUT_MB2(s, code) { *((uint16*)(s))= (code); }
#else
#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
......
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