summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_overlay.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-07-22 19:20:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-07-22 19:42:56 +0100
commit0498e0c38d0b04d89020e61c13b250150ec19c3a (patch)
treefbda9555395d6a1632783c9362a14a9364982c7e /src/sna/sna_video_overlay.c
parente8cd5b5ff6f6e78260fb57f4b8171682d857e880 (diff)
sna: Fix DBG compilation
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_overlay.c')
-rw-r--r--src/sna/sna_video_overlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video_overlay.c b/src/sna/sna_video_overlay.c
index 848c471c..9020b9b2 100644
--- a/src/sna/sna_video_overlay.c
+++ b/src/sna/sna_video_overlay.c
@@ -494,7 +494,7 @@ sna_video_overlay_put_image(ClientPtr client,
format->id, width, height, sync));
DBG(("%s: region %ld:(%d, %d), (%d, %d)\n", __FUNCTION__,
- RegionNumRects(&clip),
+ (long)RegionNumRects(&clip),
clip.extents.x1, clip.extents.y1,
clip.extents.x2, clip.extents.y2));