diff options
Diffstat (limited to 'nx-X11/programs/Xserver/Xext/shm.c')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/shm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/Xext/shm.c b/nx-X11/programs/Xserver/Xext/shm.c index 2f82ebcf6..a39aef630 100644 --- a/nx-X11/programs/Xserver/Xext/shm.c +++ b/nx-X11/programs/Xserver/Xext/shm.c @@ -366,7 +366,7 @@ ProcShmQueryVersion(client) swaps(&rep.uid); swaps(&rep.gid); } - WriteToClient(client, sizeof(xShmQueryVersionReply), (char *)&rep); + WriteToClient(client, sizeof(xShmQueryVersionReply), &rep); return (client->noClientException); } @@ -716,7 +716,7 @@ ProcPanoramiXShmGetImage(ClientPtr client) swapl(&xgi.visual); swapl(&xgi.size); } - WriteToClient(client, sizeof(xShmGetImageReply), (char *)&xgi); + WriteToClient(client, sizeof(xShmGetImageReply), &xgi); return(client->noClientException); } @@ -1044,7 +1044,7 @@ ProcShmGetImage(client) swapl(&xgi.visual); swapl(&xgi.size); } - WriteToClient(client, sizeof(xShmGetImageReply), (char *)&xgi); + WriteToClient(client, sizeof(xShmGetImageReply), &xgi); return(client->noClientException); } |