diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-11 09:29:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-11 11:02:05 +0100 |
commit | eb9de37daaea45e917fa7f44444a9782070f7333 (patch) | |
tree | d666cec70761715feff03a5908ff2fdf7fbe1325 /src/sna/sna_video_textured.c | |
parent | 085141348cfe8386059062a58172855f72d5e5b6 (diff) |
sna: Silence compiler warnings for discarding const Region points
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_textured.c')
-rw-r--r-- | src/sna/sna_video_textured.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c index 335769c6..d06aafd8 100644 --- a/src/sna/sna_video_textured.c +++ b/src/sna/sna_video_textured.c @@ -193,8 +193,8 @@ sna_video_textured_put_image(ClientPtr client, drw_x, drw_y, drw_w, drw_h, format->id, width, height, sync)); - DBG(("%s: region %ld:(%d, %d), (%d, %d)\n", __FUNCTION__, - (long)RegionNumRects(&clip), + DBG(("%s: region %d:(%d, %d), (%d, %d)\n", __FUNCTION__, + region_num_rects(&clip), clip.extents.x1, clip.extents.y1, clip.extents.x2, clip.extents.y2)); |