summaryrefslogtreecommitdiffstats
path: root/tdm/backend
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-04-13 22:03:12 +0900
committerMichele Calgaro <[email protected]>2024-04-13 22:03:12 +0900
commitd5083f71dbc8dd315f1a919e475ef9a47eb60fb2 (patch)
tree2646c98c690e7ad0df7447e65e61164da0dd09d6 /tdm/backend
parent29bf0c467066916d8de44e1c301b0482128be6a8 (diff)
downloadtdebase-d5083f71dbc8dd315f1a919e475ef9a47eb60fb2.tar.gz
tdebase-d5083f71dbc8dd315f1a919e475ef9a47eb60fb2.zip
Fix FTBFS caused by incompatible cast. This resolves issue #473.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdm/backend')
-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 );