summaryrefslogtreecommitdiff
path: root/daemon/xdmcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/xdmcp.c')
-rw-r--r--daemon/xdmcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/xdmcp.c b/daemon/xdmcp.c
index 80742edf..78b3b47a 100644
--- a/daemon/xdmcp.c
+++ b/daemon/xdmcp.c
@@ -419,7 +419,7 @@ gdm_xdmcp_decode_packet (GIOChannel *source, GIOCondition cond, gpointer data)
"MANAGED_FORWARD"
};
- if (!XdmcpFill (xdmcpfd, &buf, &clnt_sa, &sa_len)) {
+ if (!XdmcpFill (xdmcpfd, &buf, (XdmcpNetaddr)&clnt_sa, &sa_len)) {
gdm_error (_("gdm_xdmcp_decode: Could not create XDMCP buffer!"));
return TRUE;
}