mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Post-fix for WL#3090.
Compilation failure problems on non-i386 platforms. Adding missing parenthesis.
This commit is contained in:
parent
4e4122b999
commit
cf718fe9b7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue