From 657ff707ea08d33edbe604a7a93bc12d525e66ad Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sun, 22 Dec 2019 21:17:30 +0000 Subject: [PATCH] Address gcc warning: conn_telnet.c: In function 'telnet_output_thread': conn_telnet.c:95:56: warning: passing argument 6 of 'telnet_expand' from incompatible pointer type ../sbbs3/telnet.h:168:18: note: expected 'unsigned char **' but argument is of type 'char **' --- src/syncterm/conn_telnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syncterm/conn_telnet.c b/src/syncterm/conn_telnet.c index e254fb0382..fc62f50f12 100644 --- a/src/syncterm/conn_telnet.c +++ b/src/syncterm/conn_telnet.c @@ -92,7 +92,7 @@ void telnet_output_thread(void *args) wr=conn_buf_get(&conn_outbuf, conn_api.wr_buf, conn_api.wr_buf_size); pthread_mutex_unlock(&(conn_outbuf.mutex)); wr = telnet_expand(conn_api.wr_buf, wr, (BYTE *)ebuf, sizeof(ebuf) - ,telnet_local_option[TELNET_BINARY_TX]!=TELNET_DO, &buf); + ,telnet_local_option[TELNET_BINARY_TX]!=TELNET_DO, (uchar**)&buf); sent=0; while(sent < wr) { FD_ZERO(&wds); -- GitLab