X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol_misc.c;h=0b893a677a653403aa59dd22aa5535ddfd62c0ed;hp=b2f6ddc5f3f0e3b8e4ea3cd41d09ec54b1f10ec8;hb=af95368c0f30955f0e13b587d5d6d4989fd5a83e;hpb=fb1cda2ca4ca74a85e88c39c11b97340e6495a08 diff --git a/src/protocol_misc.c b/src/protocol_misc.c index b2f6ddc5..0b893a67 100644 --- a/src/protocol_misc.c +++ b/src/protocol_misc.c @@ -163,7 +163,7 @@ bool send_tcppacket(connection_t *c, vpn_packet_t *packet) if(!send_request(c, "%d %hd", PACKET, packet->len)) return false; - return send_meta(c, packet->data, packet->len); + return send_meta(c, (char *)packet->data, packet->len); } bool tcppacket_h(connection_t *c)