From: Russ Allbery <rra@debian.org>
Date: Thu, 25 Jul 2024 19:40:16 -0700
Subject: Add cast to fix GCC 14 error

The socket code assigned a conString * to a String * in a way that
appears to be harmless due to the surrounding logic but that
rightfully generated a compiler error. Add a cast to allow it to
compile.
---
 src/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/socket.c b/src/socket.c
index 6b671cf..577c40b 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -2600,7 +2600,7 @@ static void handle_socket_lines(void)
 	    socks_with_lines--;
 
 	if (line->attrs & (F_TFPROMPT)) {
-	    incoming_text = line;
+	    incoming_text = (String *) line;
 	    handle_prompt(incoming_text, 0, TRUE);
 	    continue;
 	}
