Mercurial > dropbear
diff common-session.c @ 1122:aaf576b27a10
Merge pull request #13 from gazoo74/fix-warnings
Fix warnings
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 04 Jun 2015 23:08:50 +0800 |
parents | 8e0280986710 c45d65392c1a |
children | 6aeadee3f16b |
line wrap: on
line diff
--- a/common-session.c Wed Jun 03 22:59:59 2015 +0800 +++ b/common-session.c Thu Jun 04 23:08:50 2015 +0800 @@ -327,7 +327,7 @@ void send_session_identification() { buffer *writebuf = buf_new(strlen(LOCAL_IDENT "\r\n") + 1); - buf_putbytes(writebuf, LOCAL_IDENT "\r\n", strlen(LOCAL_IDENT "\r\n")); + buf_putbytes(writebuf, (const unsigned char *) LOCAL_IDENT "\r\n", strlen(LOCAL_IDENT "\r\n")); writebuf_enqueue(writebuf, 0); }