From d5083f71dbc8dd315f1a919e475ef9a47eb60fb2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Apr 2024 22:03:12 +0900 Subject: Fix FTBFS caused by incompatible cast. This resolves issue #473. Signed-off-by: Michele Calgaro --- tdm/backend/xdmcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdm') diff --git a/tdm/backend/xdmcp.c b/tdm/backend/xdmcp.c index 6abaf5fc8..85bea54be 100644 --- a/tdm/backend/xdmcp.c +++ b/tdm/backend/xdmcp.c @@ -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 ); -- cgit v1.2.1