use size_t

pull/737/head
Jeff Becker 5 years ago
parent 835b334a59
commit 4eff86d681
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -93,9 +93,9 @@ namespace llarp
utp_context_set_option(_utp_ctx, UTP_LOG_MTU, 1);
utp_context_set_option(_utp_ctx, UTP_LOG_DEBUG, 1);
utp_context_set_option(_utp_ctx, UTP_SNDBUF,
(MAX_LINK_MSG_SIZE * MaxSendQueueSize * 3) / 2);
(MAX_LINK_MSG_SIZE * MaxSendQueueSize * size_t{3}) / size_t{2});
utp_context_set_option(_utp_ctx, UTP_RCVBUF,
(MAX_LINK_MSG_SIZE * MaxSendQueueSize * 3) / 2);
(MAX_LINK_MSG_SIZE * MaxSendQueueSize * size_t{3}) / size_t{2});
}
LinkLayer::~LinkLayer()

Loading…
Cancel
Save