vendor update: github.com/golang/protobuf

This commit is contained in:
Shiyang Wang
2017-11-04 11:23:34 +08:00
parent d837a6a2ea
commit 1c146fcf31
21 changed files with 1110 additions and 172 deletions

View File

@@ -865,7 +865,7 @@ func (p *textParser) readAny(v reflect.Value, props *Properties) error {
return p.readStruct(fv, terminator)
case reflect.Uint32:
if x, err := strconv.ParseUint(tok.value, 0, 32); err == nil {
fv.SetUint(uint64(x))
fv.SetUint(x)
return nil
}
case reflect.Uint64: