From 6de3cbbc489bf77b45dfc475cba0689ecf8fbe94 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 21 Apr 2025 19:10:45 -0400 Subject: [PATCH] Fix method signature of SetSizeLimit --- metadapta.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metadapta.go b/metadapta.go index c23d579..aeea21f 100644 --- a/metadapta.go +++ b/metadapta.go @@ -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 }