summaryrefslogtreecommitdiff
path: root/src/sna/sna_damage.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-07-01 22:43:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-07-01 22:51:22 +0100
commit24a7bec7faa7dcc4393ef7f66939ae0fb8acdf36 (patch)
tree0cc1dc7e0acd43f49176110764f128e5d125e45b /src/sna/sna_damage.c
parentad0afda3fe4f5e408e3610d8b76fdc7d1af33138 (diff)
sna: Minor tweaks to make DBG compile again
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_damage.c b/src/sna/sna_damage.c
index 30cc83b3..cd478f4b 100644
--- a/src/sna/sna_damage.c
+++ b/src/sna/sna_damage.c
@@ -116,7 +116,7 @@ static const char *_debug_describe_region(char *buf, int max,
}
static const char *_debug_describe_damage(char *buf, int max,
- struct sna_damage *damage)
+ const struct sna_damage *damage)
{
char damage_str[500], region_str[500];
int str_max;