summaryrefslogtreecommitdiff
path: root/common-kex.c
diff options
context:
space:
mode:
authorGa?l PORTAY <gael.portay@gmail.com>2015-05-02 15:59:06 +0200
committerGa?l PORTAY <gael.portay@gmail.com>2015-05-02 15:59:06 +0200
commit48646ccbad1aa607e79932ae89ba70430278b275 (patch)
tree797bb5dd8f9533a1b79376d621aea51993ef49f3 /common-kex.c
parent0524860d6495f8cf4ae5dd04d71d03e3d49ce280 (diff)
downloaddropbear-48646ccbad1aa607e79932ae89ba70430278b275.tar.gz
Fix pointer differ in signess warnings [-Werror=pointer-sign]
Diffstat (limited to 'common-kex.c')
-rw-r--r--common-kex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common-kex.c b/common-kex.c
index 0e477da..c823f19 100644
--- a/common-kex.c
+++ b/common-kex.c
@@ -128,10 +128,10 @@ void send_msg_kexinit() {
buf_put_algolist(ses.writepayload, ses.compress_algos);
/* languages_client_to_server */
- buf_putstring(ses.writepayload, "", 0);
+ buf_putstring(ses.writepayload, (const unsigned char *) "", 0);
/* languages_server_to_client */
- buf_putstring(ses.writepayload, "", 0);
+ buf_putstring(ses.writepayload, (const unsigned char *) "", 0);
/* first_kex_packet_follows */
buf_putbyte(ses.writepayload, (ses.send_kex_first_guess != NULL));