mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
smux: update to v1.5.16
This commit is contained in:
1 parent
ce85f15c4b
commit
e5031ac8d5
7 files changed
+23
-17
No files matched your search
@@ -100,7 +100,7 @@ func authChainAGetRandLen(dataLength int, random *tools.Shift128plusContext, las
|
||||
|
||||
func getRandStartPos(random *tools.Shift128plusContext, randLength int) int {
|
||||
if randLength > 0 {
|
||||
return int(random.Next() % 8589934609 % uint64(randLength))
|
||||
return int(int64(random.Next()%8589934609) % int64(randLength))
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user