summaryrefslogtreecommitdiff
path: root/damageext/damageext.c
diff options
context:
space:
mode:
Diffstat (limited to 'damageext/damageext.c')
-rw-r--r--damageext/damageext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/damageext/damageext.c b/damageext/damageext.c
index f21f71ca8..70d2eee1e 100644
--- a/damageext/damageext.c
+++ b/damageext/damageext.c
@@ -154,7 +154,7 @@ ProcDamageQueryVersion(ClientPtr client)
swapl(&rep.majorVersion);
swapl(&rep.minorVersion);
}
- WriteToClient(client, sizeof(xDamageQueryVersionReply), (char *) &rep);
+ WriteToClient(client, sizeof(xDamageQueryVersionReply), &rep);
return Success;
}