summaryrefslogtreecommitdiff
path: root/randr/rrdispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'randr/rrdispatch.c')
-rw-r--r--randr/rrdispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrdispatch.c b/randr/rrdispatch.c
index 1942d74f8..d071787ca 100644
--- a/randr/rrdispatch.c
+++ b/randr/rrdispatch.c
@@ -63,7 +63,7 @@ ProcRRQueryVersion(ClientPtr client)
swapl(&rep.majorVersion);
swapl(&rep.minorVersion);
}
- WriteToClient(client, sizeof(xRRQueryVersionReply), (char *) &rep);
+ WriteToClient(client, sizeof(xRRQueryVersionReply), &rep);
return Success;
}