smux: update to v1.5.16

This commit is contained in:
nadoo committed 2021-09-22 22:49:33 +08:00
1 parent ce85f15c4b
commit e5031ac8d5
7 files changed
+23 -17

No files matched your search

+1 -1
View File
@@ -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
}