comparison common-kex.c @ 1094:c45d65392c1a

Fix pointer differ in signess warnings [-Werror=pointer-sign]
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 15:59:06 +0200
parents 4d7b4c5526c5
children 2ebf450edc2d
comparison
equal deleted inserted replaced
1093:aae71c5f7d5b 1094:c45d65392c1a
126 126
127 /* compression_algorithms_server_to_client */ 127 /* compression_algorithms_server_to_client */
128 buf_put_algolist(ses.writepayload, ses.compress_algos); 128 buf_put_algolist(ses.writepayload, ses.compress_algos);
129 129
130 /* languages_client_to_server */ 130 /* languages_client_to_server */
131 buf_putstring(ses.writepayload, "", 0); 131 buf_putstring(ses.writepayload, (const unsigned char *) "", 0);
132 132
133 /* languages_server_to_client */ 133 /* languages_server_to_client */
134 buf_putstring(ses.writepayload, "", 0); 134 buf_putstring(ses.writepayload, (const unsigned char *) "", 0);
135 135
136 /* first_kex_packet_follows */ 136 /* first_kex_packet_follows */
137 buf_putbyte(ses.writepayload, (ses.send_kex_first_guess != NULL)); 137 buf_putbyte(ses.writepayload, (ses.send_kex_first_guess != NULL));
138 138
139 /* reserved unit32 */ 139 /* reserved unit32 */