diff options
Diffstat (limited to 'xfixes/region.c')
-rw-r--r-- | xfixes/region.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfixes/region.c b/xfixes/region.c index 0acbadae2..89675e52d 100644 --- a/xfixes/region.c +++ b/xfixes/region.c @@ -584,7 +584,7 @@ ProcXFixesFetchRegion(ClientPtr client) swaps(&reply->height); SwapShorts((INT16 *) pRect, nBox * 4); } - (void) WriteToClient(client, sizeof(xXFixesFetchRegionReply) + + WriteToClient(client, sizeof(xXFixesFetchRegionReply) + nBox * sizeof(xRectangle), (char *) reply); free(reply); return Success; |