diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-16 20:26:28 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-16 20:26:28 +0100 |
commit | 2a4855a633f42d90e11f5c51342c514c2dc24307 (patch) | |
tree | 8b65453cc8faa1e5c4bf97d585c94cf77178d1af | |
parent | 1cc9762b08a127a2475a44da71ca07cb294562f2 (diff) |
sna: Constify argument to box_from_seg()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index e5382a2a..ab438314 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -9955,7 +9955,7 @@ out: RegionUninit(&data.region); } -static inline void box_from_seg(BoxPtr b, xSegment *seg, GCPtr gc) +static inline void box_from_seg(BoxPtr b, const xSegment *seg, GCPtr gc) { if (seg->x1 == seg->x2) { if (seg->y1 > seg->y2) { |