diff options
Diffstat (limited to 'render/render.c')
-rw-r--r-- | render/render.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/render/render.c b/render/render.c index fe7666d35..be7d21e86 100644 --- a/render/render.c +++ b/render/render.c @@ -296,7 +296,7 @@ ProcRenderQueryVersion(ClientPtr client) swapl(&rep.majorVersion); swapl(&rep.minorVersion); } - WriteToClient(client, sizeof(xRenderQueryVersionReply), (char *) &rep); + WriteToClient(client, sizeof(xRenderQueryVersionReply), &rep); return Success; } @@ -500,7 +500,7 @@ ProcRenderQueryPictFormats(ClientPtr client) swapl(&reply->numVisuals); swapl(&reply->numSubpixel); } - WriteToClient(client, rlength, (char *) reply); + WriteToClient(client, rlength, reply); free(reply); return Success; } @@ -557,7 +557,7 @@ ProcRenderQueryPictIndexValues(ClientPtr client) swapl(&reply->numIndexValues); } - WriteToClient(client, rlength, (char *) reply); + WriteToClient(client, rlength, reply); free(reply); return Success; } @@ -1748,7 +1748,7 @@ ProcRenderQueryFilters(ClientPtr client) swapl(&reply->numAliases); swapl(&reply->numFilters); } - WriteToClient(client, total_bytes, (char *) reply); + WriteToClient(client, total_bytes, reply); free(reply); return Success; |