include: wrap EMASKSIZE in parentheses
Otherwise things like EMASKSIZE * foo will yield interesting results. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
d803f296c6
commit
8f2292b683
|
@ -65,7 +65,7 @@ extern _X_EXPORT int CountBits(const uint8_t * mask, int len);
|
|||
#define SameClient(obj,client) \
|
||||
(CLIENT_BITS((obj)->resource) == (client)->clientAsMask)
|
||||
|
||||
#define EMASKSIZE MAXDEVICES + 2
|
||||
#define EMASKSIZE (MAXDEVICES + 2)
|
||||
|
||||
/* This is the last XI2 event supported by the server. If you add
|
||||
* events to the protocol, the server will not support these events until
|
||||
|
|
Loading…
Reference in New Issue