summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mysql.com>2010-02-16 13:16:12 +0400
committerAlexander Barkov <bar@mysql.com>2010-02-16 13:16:12 +0400
commitcf718fe9b77e97e641bddbb1438ed5d60c455e2e (patch)
treee43e61f9e24080c91f3ecff982a28b07a1052bff /include
parent4e4122b9998441a6ba4bab00c45a793a6db996ba (diff)
downloadmariadb-git-cf718fe9b77e97e641bddbb1438ed5d60c455e2e.tar.gz
Post-fix for WL#3090.
Compilation failure problems on non-i386 platforms. Adding missing parenthesis.
Diffstat (limited to 'include')
-rw-r--r--include/m_ctype.h2
1 files changed, 1 insertions, 1 deletions
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