Fix FTBFS caused by incompatible cast. This resolves issue #473.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/474/head
Michele Calgaro 2 weeks ago
parent 29bf0c4670
commit d5083f71db
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -160,7 +160,7 @@ all_query_respond( struct sockaddr *from, int fromlen,
int family;
int length;
family = ConvertAddr( (XdmcpNetaddr)from, &length, &(addr.data) );
family = ConvertAddr( (XdmcpNetaddr)from, &length, (char**)&(addr.data) );
addr.length = length; /* convert int to short */
Debug( "all_query_respond: conntype=%d, addr=%02[*:hhx\n",
family, addr.length, addr.data );

Loading…
Cancel
Save