Bump deps

This commit is contained in:
Jeff Mitchell
2017-01-13 09:06:34 -05:00
parent 6485b2fd27
commit fc1d75032b
126 changed files with 39397 additions and 1175 deletions

View File

@@ -241,7 +241,7 @@ func (d *Decoder) decodeBinary(b []byte, v reflect.Value) error {
func (d *Decoder) decodeBool(b *bool, v reflect.Value) error {
switch v.Kind() {
case reflect.Bool, reflect.Interface:
v.Set(reflect.ValueOf(*b))
v.Set(reflect.ValueOf(*b).Convert(v.Type()))
default:
return &UnmarshalTypeError{Value: "bool", Type: v.Type()}
}