Skip to content

Commit 3b5ab61

Browse files
committed
fixing some issues
1 parent cb2c4c7 commit 3b5ab61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ func (dec *V3Decoder) decodeValuev3(v v3.Value, e reflect.Value, yetToRead *uint
512512
e.SetBytes(val)
513513
}
514514
case v3.Int8T:
515-
val := v3.Int8FromBytes(v.Value)
515+
val := v3.Int8FromBytes(v.Value[0])
516516
if e.Kind() != reflect.Int8 {
517517
if e.Kind() != reflect.Interface || e.Type().NumMethod() != 0 {
518518
return errors.New("TT: cannot unmarshal int8 into " + e.Kind().String() + " Go type")

0 commit comments

Comments
 (0)