diff --git a/randr/rrproviderproperty.c b/randr/rrproviderproperty.c index dfaf956675..8a340eb091 100644 --- a/randr/rrproviderproperty.c +++ b/randr/rrproviderproperty.c @@ -655,7 +655,7 @@ ProcRRGetProviderProperty(ClientPtr client) } } - WriteToClient(client, sizeof(xGenericReply), &reply); + WriteToClient(client, sizeof(reply), &reply); WriteToClient(client, len, extra); free(extra);