Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unmarshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ func unmarshalVal(data []byte, bo binary.ByteOrder, ft FieldType, v reflect.Valu
return ErrUnsuppConversion{ft, typ}
}
v.SetInt(i64)
case reflect.Uint8, reflect.Int8, reflect.Float32, reflect.Float64:
default:
// If this was not handled at the top, we do not support
// converting other types to these types.
return ErrUnsuppConversion{ft, typ}
Expand Down