hotfix: fixed bencode

This commit is contained in:
Leo Balduf 2016-04-02 20:53:32 -04:00
parent d5c00c24b1
commit 8f587df9c7

View file

@ -68,6 +68,12 @@ func marshal(w io.Writer, data interface{}) error {
case uint16:
marshalUint(w, uint64(v))
case int32:
marshalInt(w, int64(v))
case uint32:
marshalUint(w, uint64(v))
case int64:
marshalInt(w, v)