aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/protobuf/proto/text_parser.go
diff options
context:
space:
mode:
authorJoseph Richey <joerichey94@gmail.com>2017-09-29 02:08:56 -0700
committerJoseph Richey <joerichey94@gmail.com>2017-09-29 02:33:45 -0700
commit05911d5503434a802c6dc9909a74cc76c2bf6661 (patch)
treee1e7aa0ba09dcc4b4c56b28429d1f6f288bba03b /vendor/github.com/golang/protobuf/proto/text_parser.go
parenta949b13dac670014c37c7181e368b9c0c7a7f0f5 (diff)
vendor: Update to latest versions
This changes the vendored sources of github.com/golang/protobuf, golang.org/x/crypto/ssh, and golang.org/x/sys/unix to be the current master versions.
Diffstat (limited to 'vendor/github.com/golang/protobuf/proto/text_parser.go')
-rw-r--r--vendor/github.com/golang/protobuf/proto/text_parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/golang/protobuf/proto/text_parser.go b/vendor/github.com/golang/protobuf/proto/text_parser.go
index 61f83c1..5e14513 100644
--- a/vendor/github.com/golang/protobuf/proto/text_parser.go
+++ b/vendor/github.com/golang/protobuf/proto/text_parser.go
@@ -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: