mirror of
https://github.com/LBRYFoundation/tracker.git
synced 2025-08-23 17:47:29 +00:00
hotfix: fixed bencode
This commit is contained in:
parent
d5c00c24b1
commit
8f587df9c7
1 changed files with 6 additions and 0 deletions
|
@ -68,6 +68,12 @@ func marshal(w io.Writer, data interface{}) error {
|
||||||
case uint16:
|
case uint16:
|
||||||
marshalUint(w, uint64(v))
|
marshalUint(w, uint64(v))
|
||||||
|
|
||||||
|
case int32:
|
||||||
|
marshalInt(w, int64(v))
|
||||||
|
|
||||||
|
case uint32:
|
||||||
|
marshalUint(w, uint64(v))
|
||||||
|
|
||||||
case int64:
|
case int64:
|
||||||
marshalInt(w, v)
|
marshalInt(w, v)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue