aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/damageext/damageext.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/damageext/damageext.c')
-rw-r--r--nx-X11/programs/Xserver/damageext/damageext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/damageext/damageext.c b/nx-X11/programs/Xserver/damageext/damageext.c
index 9ab5b6ad6..602825449 100644
--- a/nx-X11/programs/Xserver/damageext/damageext.c
+++ b/nx-X11/programs/Xserver/damageext/damageext.c
@@ -160,7 +160,7 @@ ProcDamageQueryVersion(ClientPtr client)
swapl(&rep.majorVersion);
swapl(&rep.minorVersion);
}
- WriteToClient(client, sizeof(xDamageQueryVersionReply), (char *)&rep);
+ WriteToClient(client, sizeof(xDamageQueryVersionReply), &rep);
return(client->noClientException);
}