summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Xdamage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xdamage.c b/src/Xdamage.c
index fe184f5..6b131a4 100644
--- a/src/Xdamage.c
+++ b/src/Xdamage.c
@@ -124,7 +124,7 @@ XDamageExtAddDisplay (XDamageExtInfo *extinfo,
* extension object. (Replaces XextRemoveDisplay.)
*/
static int
-XDamageExtRemoveDisplay (XDamageExtInfo *extinfo, Display *dpy)
+XDamageExtRemoveDisplay (XDamageExtInfo *extinfo, const Display *dpy)
{
XDamageExtDisplayInfo *info, *prev;
@@ -165,7 +165,7 @@ XDamageExtRemoveDisplay (XDamageExtInfo *extinfo, Display *dpy)
*/
static XDamageExtDisplayInfo *
XDamageExtFindDisplay (XDamageExtInfo *extinfo,
- Display *dpy)
+ const Display *dpy)
{
XDamageExtDisplayInfo *info;