From 0da5cc23b18d4e2473a3b6a571fb49d08bb1dd2d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 6 Jun 2013 14:11:50 +0100 Subject: sna: Fix format specifier for mismatching int/long in DBG Signed-off-by: Chris Wilson --- src/sna/sna_trapezoids.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/sna/sna_trapezoids.c') diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c index 5af7d418..e07ff2cd 100644 --- a/src/sna/sna_trapezoids.c +++ b/src/sna/sna_trapezoids.c @@ -100,8 +100,11 @@ static void _assert_pixmap_contains_box(PixmapPtr pixmap, BoxPtr box, const char static void apply_damage(struct sna_composite_op *op, RegionPtr region) { - DBG(("%s: damage=%p, region=%d\n", - __FUNCTION__, op->damage, REGION_NUM_RECTS(region))); + DBG(("%s: damage=%p, region=%ldx[(%d, %d), (%d, %d)]\n", + __FUNCTION__, op->damage, + REGION_NUM_RECTS(region), + region->extents.x1, region->extents.y1, + region->extents.x2, region->extents.y2)); if (op->damage == NULL) return; -- cgit v1.2.3