summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-04-13 22:03:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-04-14 18:13:35 +0900
commitb151ca953f1282dc59b83a42a4e010643458cf61 (patch)
treea472f5d59891aaaa29eddeb96fa87002d4bd380f
parent8ad38a5ec6550ca807b03dfdff52c2db8e7fe003 (diff)
downloadtdebase-b151ca953f1282dc59b83a42a4e010643458cf61.tar.gz
tdebase-b151ca953f1282dc59b83a42a4e010643458cf61.zip
Fix FTBFS caused by incompatible cast. This resolves issue #473.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d5083f71dbc8dd315f1a919e475ef9a47eb60fb2)
-rw-r--r--tdm/backend/xdmcp.c2
1 files changed, 1 insertions, 1 deletions
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 );