diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-22 19:20:16 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-22 19:42:56 +0100 |
commit | 0498e0c38d0b04d89020e61c13b250150ec19c3a (patch) | |
tree | fbda9555395d6a1632783c9362a14a9364982c7e /src/sna/sna_damage.c | |
parent | e8cd5b5ff6f6e78260fb57f4b8171682d857e880 (diff) |
sna: Fix DBG compilation
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_damage.c')
-rw-r--r-- | src/sna/sna_damage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_damage.c b/src/sna/sna_damage.c index cd478f4b..8bfe8f95 100644 --- a/src/sna/sna_damage.c +++ b/src/sna/sna_damage.c @@ -415,7 +415,7 @@ static void __sna_damage_reduce(struct sna_damage *damage) assert(damage->mode != DAMAGE_ALL); assert(damage->dirty); - DBG((" reduce: before region.n=%ld\n", REGION_NUM_RECTS(region))); + DBG((" reduce: before region.n=%ld\n", (long)REGION_NUM_RECTS(region))); nboxes = damage->embedded_box.size; list_for_each_entry(iter, &damage->embedded_box.list, list) @@ -529,7 +529,7 @@ done: free_list(&damage->embedded_box.list); reset_embedded_box(damage); - DBG((" reduce: after region.n=%ld\n", REGION_NUM_RECTS(region))); + DBG((" reduce: after region.n=%ld\n", (long)REGION_NUM_RECTS(region))); } static void damage_union(struct sna_damage *damage, const BoxRec *box) |