diff options
Diffstat (limited to 'Xext/dpms.c')
-rw-r--r-- | Xext/dpms.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Xext/dpms.c b/Xext/dpms.c index 348c87289..35be966c6 100644 --- a/Xext/dpms.c +++ b/Xext/dpms.c @@ -59,7 +59,7 @@ ProcDPMSGetVersion(ClientPtr client) swaps(&rep.majorVersion); swaps(&rep.minorVersion); } - WriteToClient(client, sizeof(xDPMSGetVersionReply), (char *) &rep); + WriteToClient(client, sizeof(xDPMSGetVersionReply), &rep); return Success; } @@ -79,7 +79,7 @@ ProcDPMSCapable(ClientPtr client) if (client->swapped) { swaps(&rep.sequenceNumber); } - WriteToClient(client, sizeof(xDPMSCapableReply), (char *) &rep); + WriteToClient(client, sizeof(xDPMSCapableReply), &rep); return Success; } @@ -104,7 +104,7 @@ ProcDPMSGetTimeouts(ClientPtr client) swaps(&rep.suspend); swaps(&rep.off); } - WriteToClient(client, sizeof(xDPMSGetTimeoutsReply), (char *) &rep); + WriteToClient(client, sizeof(xDPMSGetTimeoutsReply), &rep); return Success; } @@ -202,7 +202,7 @@ ProcDPMSInfo(ClientPtr client) swaps(&rep.sequenceNumber); swaps(&rep.power_level); } - WriteToClient(client, sizeof(xDPMSInfoReply), (char *) &rep); + WriteToClient(client, sizeof(xDPMSInfoReply), &rep); return Success; } |