summaryrefslogtreecommitdiff
path: root/src/AddTrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/AddTrap.c')
-rw-r--r--src/AddTrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AddTrap.c b/src/AddTrap.c
index 5d01114..5588ea3 100644
--- a/src/AddTrap.c
+++ b/src/AddTrap.c
@@ -60,7 +60,7 @@ XRenderAddTraps (Display *dpy,
}
SetReqLen (req, len, len);
len <<= 2;
- DataInt32 (dpy, (int *) traps, (long) len);
+ DataInt32 (dpy, (_Xconst int *) traps, (long) len);
ntrap -= n;
traps += n;
}