diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-08-16 11:05:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-08-30 14:26:55 +1000 |
commit | 8f2292b683f591052da2fe94fb3831a3c9a5aa61 (patch) | |
tree | 415501f48314e4c0f72e64015f7dcc957db72e12 | |
parent | d803f296c616ccf55711cf0af9e7d3eae2edda16 (diff) |
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>
-rw-r--r-- | include/inputstr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inputstr.h b/include/inputstr.h index 2da72c1ec..dc36c5d8d 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -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 |