Fix method signature of SetSizeLimit
This commit is contained in:
parent
e4f13a4142
commit
6de3cbbc48
@ -17,7 +17,7 @@ type Party bool; const (
|
||||
)
|
||||
|
||||
type a struct {
|
||||
sizeLimit int
|
||||
sizeLimit int64
|
||||
underlying net.Conn
|
||||
party Party
|
||||
transID int64
|
||||
@ -88,7 +88,7 @@ func (this *a) AcceptTrans() (Trans, error) {
|
||||
}
|
||||
}
|
||||
|
||||
func (this *a) SetSizeLimit(limit int) {
|
||||
func (this *a) SetSizeLimit(limit int64) {
|
||||
this.sizeLimit = limit
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user