Fix signedness compiler warnings.
This commit is contained in:
parent
fb1cda2ca4
commit
af95368c0f
8 changed files with 32 additions and 31 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue