diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-20 16:13:49 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-20 16:23:18 +0100 |
commit | 91bc9e42e434abd56ce2e4fc5e08d07376fe8bd3 (patch) | |
tree | fc799299c447596af7127867fb35cf67b5985fab /src/sna/gen8_render.c | |
parent | e5c68b4358ce541929681c8c1e0ad3ef8c1dc9ed (diff) |
sna: Mark up const boxes to keep the compiler happy
Pass around const to suppress a few compiler warnings.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen8_render.c')
-rw-r--r-- | src/sna/gen8_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c index 7fd37c1d..e2a4bfc1 100644 --- a/src/sna/gen8_render.c +++ b/src/sna/gen8_render.c @@ -3726,7 +3726,7 @@ gen8_render_video(struct sna *sna, float src_scale_x, src_scale_y; int nbox, pix_xoff, pix_yoff; unsigned filter; - BoxPtr box; + const BoxRec *box; DBG(("%s: src=(%d, %d), dst=(%d, %d), %dx[(%d, %d), (%d, %d)...]\n", __FUNCTION__, |