Skip to content
Snippets Groups Projects
Commit 657ff707 authored by rswindell's avatar rswindell
Browse files

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 **'
parent 9c410324
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment