diff --git a/include/m_ctype.h b/include/m_ctype.h index 597081c5f6e..7cf5ce113f8 100644 --- a/include/m_ctype.h +++ b/include/m_ctype.h @@ -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