Post-fix for WL#3090.

Compilation failure problems on non-i386 platforms.
Adding missing parenthesis.
This commit is contained in:
Alexander Barkov 2010-02-16 13:16:12 +04:00
parent 4e4122b999
commit cf718fe9b7

View file

@ -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