diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-13 22:03:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-13 22:03:12 +0900 |
commit | d5083f71dbc8dd315f1a919e475ef9a47eb60fb2 (patch) | |
tree | 2646c98c690e7ad0df7447e65e61164da0dd09d6 /tdm | |
parent | 29bf0c467066916d8de44e1c301b0482128be6a8 (diff) | |
download | tdebase-d5083f71dbc8dd315f1a919e475ef9a47eb60fb2.tar.gz tdebase-d5083f71dbc8dd315f1a919e475ef9a47eb60fb2.zip |
Fix FTBFS caused by incompatible cast. This resolves issue #473.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdm')
-rw-r--r-- | tdm/backend/xdmcp.c | 2 |
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 ); |