summaryrefslogtreecommitdiff
path: root/glx/single2swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/single2swap.c')
-rw-r--r--glx/single2swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glx/single2swap.c b/glx/single2swap.c
index e6bb585d9..9da2afdd1 100644
--- a/glx/single2swap.c
+++ b/glx/single2swap.c
@@ -216,9 +216,9 @@ __glXDispSwap_RenderMode(__GLXclientState * cl, GLbyte * pc)
__GLX_SWAP_INT(&reply.retval);
__GLX_SWAP_INT(&reply.size);
__GLX_SWAP_INT(&reply.newMode);
- WriteToClient(client, sz_xGLXRenderModeReply, (char *) &reply);
+ WriteToClient(client, sz_xGLXRenderModeReply, &reply);
if (retBytes) {
- WriteToClient(client, retBytes, (char *) retBuffer);
+ WriteToClient(client, retBytes, retBuffer);
}
return Success;
}