From 31c86272bbbf185ce33c95bd639a28d45dcd635e Mon Sep 17 00:00:00 2001 From: Alexey Khit Date: Sun, 12 Mar 2023 19:54:33 +0300 Subject: [PATCH] Fix webtorrent support on i386 --- pkg/webtorrent/crypto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/webtorrent/crypto.go b/pkg/webtorrent/crypto.go index 27f21187..3e90fd61 100644 --- a/pkg/webtorrent/crypto.go +++ b/pkg/webtorrent/crypto.go @@ -17,7 +17,7 @@ type Cipher struct { } func NewCipher(share, pwd, nonce string) (*Cipher, error) { - timestamp, err := strconv.ParseInt(nonce, 36, 0) + timestamp, err := strconv.ParseInt(nonce, 36, 64) if err != nil { return nil, err }