=== modified file 'src/ChangeLog' --- src/ChangeLog 2014-07-14 19:23:18 +0000 +++ src/ChangeLog 2014-07-15 08:48:30 +0000 @@ -1,3 +1,9 @@ +2014-07-15 Daiki Ueno + + * nsgui.h (XCHAR2B_BYTE1): Add missing parentheses around + pointer argument, before dereferencing. + (XCHAR2B_BYTE2): Likewise. + 2014-07-14 Paul Eggert Use binary-io module, O_BINARY, and "b" flag (Bug#18006). === modified file 'src/nsgui.h' --- src/nsgui.h 2014-06-02 18:01:21 +0000 +++ src/nsgui.h 2014-07-15 06:40:08 +0000 @@ -68,10 +68,10 @@ (*(chp) = ((XChar2b)((((b1) & 0x00ff) << 8) | ((b2) & 0x00ff)))) #define XCHAR2B_BYTE1(chp) \ - (((*chp) & 0xff00) >> 8) + ((*(chp) & 0xff00) >> 8) #define XCHAR2B_BYTE2(chp) \ - ((*chp) & 0x00ff) + (*(chp) & 0x00ff) /* XXX: xfaces requires these structures, but the question is are we