diff options
Diffstat (limited to 'xorg-server/glx/single2swap.c')
-rw-r--r-- | xorg-server/glx/single2swap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/glx/single2swap.c b/xorg-server/glx/single2swap.c index 1e6ba75b5..dc7d07eb6 100644 --- a/xorg-server/glx/single2swap.c +++ b/xorg-server/glx/single2swap.c @@ -209,9 +209,9 @@ __glXDispSwap_RenderMode(__GLXclientState * cl, GLbyte * pc) */ noChangeAllowed:; client = cl->client; - reply.length = nitems; reply.type = X_Reply; reply.sequenceNumber = client->sequence; + reply.length = nitems; reply.retval = retval; reply.size = nitems; reply.newMode = newMode; @@ -220,9 +220,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; } |