projects
/
swift-upb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d2b0b
)
64 bit fix
author
Victor Grishchenko
<gritzko@eee.(none)>
Fri, 22 Jan 2010 08:55:29 +0000
(09:55 +0100)
committer
Victor Grishchenko
<gritzko@eee.(none)>
Fri, 22 Jan 2010 08:55:29 +0000
(09:55 +0100)
sendrecv.cpp
patch
|
blob
|
history
diff --git
a/sendrecv.cpp
b/sendrecv.cpp
index
02dc62b
..
ed54465
100644
(file)
--- a/
sendrecv.cpp
+++ b/
sendrecv.cpp
@@
-157,7
+157,7
@@
void Channel::AddHint (Datagram& dgram) {
/*int peer_cwnd = (int)(rtt_avg_ / dip_avg_);
if (!peer_cwnd)
peer_cwnd = 1;*/
- int plan_pck = std::max (
1LL
, plan_for / dip_avg_ );
+ int plan_pck = std::max (
(tint)1
, plan_for / dip_avg_ );
if ( hint_out_size_ < plan_pck ) {