diff options
Diffstat (limited to 'dbe/dbe.c')
-rw-r--r-- | dbe/dbe.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -132,7 +132,7 @@ ProcDbeGetVersion(ClientPtr client) swaps(&rep.sequenceNumber); } - WriteToClient(client, sizeof(xDbeGetVersionReply), (char *) &rep); + WriteToClient(client, sizeof(xDbeGetVersionReply), &rep); return Success; @@ -679,7 +679,7 @@ ProcDbeGetVisualInfo(ClientPtr client) } /* Send off reply. */ - WriteToClient(client, sizeof(xDbeGetVisualInfoReply), (char *) &rep); + WriteToClient(client, sizeof(xDbeGetVisualInfoReply), &rep); for (i = 0; i < count; i++) { CARD32 data32; @@ -693,7 +693,7 @@ ProcDbeGetVisualInfo(ClientPtr client) swapl(&data32); } - WriteToClient(client, sizeof(CARD32), (char *) &data32); + WriteToClient(client, sizeof(CARD32), &data32); /* Now send off visual info items. */ for (j = 0; j < pScrVisInfo[i].count; j++) { @@ -717,8 +717,7 @@ ProcDbeGetVisualInfo(ClientPtr client) } /* Write visualID(32), depth(8), perfLevel(8), and pad(16). */ - WriteToClient(client, 2 * sizeof(CARD32), - (char *) &visInfo.visualID); + WriteToClient(client, 2 * sizeof(CARD32), &visInfo.visualID); } } @@ -782,8 +781,7 @@ ProcDbeGetBackBufferAttributes(ClientPtr client) swapl(&rep.attributes); } - WriteToClient(client, sizeof(xDbeGetBackBufferAttributesReply), - (char *) &rep); + WriteToClient(client, sizeof(xDbeGetBackBufferAttributesReply), &rep); return Success; } /* ProcDbeGetbackBufferAttributes() */ |