summaryrefslogtreecommitdiff
path: root/fb/fbbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'fb/fbbits.h')
-rw-r--r--fb/fbbits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb/fbbits.h b/fb/fbbits.h
index 8bf1a0290..2dec84b42 100644
--- a/fb/fbbits.h
+++ b/fb/fbbits.h
@@ -25,7 +25,7 @@
* underlying datatypes instead of masks
*/
-#define isClipped(c,ul,lr) ((((c) - (ul)) | ((lr) - (c))) & 0x80008000)
+#define isClipped(c,ul,lr) (((c) | ((c) - (ul)) | ((lr) - (c))) & 0x80008000)
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>