summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Xrender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xrender.c b/src/Xrender.c
index c763076..fce16ab 100644
--- a/src/Xrender.c
+++ b/src/Xrender.c
@@ -70,7 +70,7 @@ XRenderExtFindDisplay (XRenderExtInfo *extinfo,
* any screen, tell the application that Render is not present.
*/
-#define DEPTH_MASK(d) (1 << ((d) - 1))
+#define DEPTH_MASK(d) (1U << ((d) - 1))
/*
* Render requires support for depth 1, 4, 8, 24 and 32 pixmaps