X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_misc.c;h=0b893a677a653403aa59dd22aa5535ddfd62c0ed;hb=8ebb017a10cd85406ddf5ab60d8ef1f56df526ff;hp=b2f6ddc5f3f0e3b8e4ea3cd41d09ec54b1f10ec8;hpb=228e7a5c8f0e517dcede50f886965a44fca39853;p=tinc 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)