summaryrefslogtreecommitdiff
path: root/src/Trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Trap.c')
-rw-r--r--src/Trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Trap.c b/src/Trap.c
index 31ebb95..24f2410 100644
--- a/src/Trap.c
+++ b/src/Trap.c
@@ -65,7 +65,7 @@ XRenderCompositeTrapezoids (Display *dpy,
}
SetReqLen (req, len, len);
len <<= 2;
- DataInt32 (dpy, (int *) traps, len);
+ DataInt32 (dpy, (_Xconst int *) traps, len);
ntrap -= n;
traps += n;
}