Fixed warning.

This commit is contained in:
irungentoo 2015-06-25 22:18:34 -04:00
parent 361d6cc078
commit f2be0a3c5d
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -2145,7 +2145,7 @@ static void send_crypto_packets(Net_Crypto *c)
int ret = send_requested_packets(c, i, conn->packets_left * PACKET_RESEND_MULTIPLIER); int ret = send_requested_packets(c, i, conn->packets_left * PACKET_RESEND_MULTIPLIER);
if (ret != -1) { if (ret != -1) {
if (ret < conn->packets_left) { if ((unsigned int)ret < conn->packets_left) {
conn->packets_left -= ret; conn->packets_left -= ret;
} else { } else {
conn->last_congestion_event = temp_time; conn->last_congestion_event = temp_time;