diff options
Diffstat (limited to 'danmaku/dmpkg/raw.go')
-rw-r--r-- | danmaku/dmpkg/raw.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/danmaku/dmpkg/raw.go b/danmaku/dmpkg/raw.go index 1cbd12e..17b538a 100644 --- a/danmaku/dmpkg/raw.go +++ b/danmaku/dmpkg/raw.go @@ -6,7 +6,7 @@ import ( "math" ) -const kMaxBodyLength = math.MaxUint32 - kHeaderLength +const kMaxBodyLength = math.MaxUint32 - uint64(kHeaderLength) // NewPlainExchange creates a new exchange with raw body specified. // body: a struct or a raw string |