diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2017-06-01 14:25:45 -0400 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2017-06-01 14:25:45 -0400 |
commit | 46f36d79a21474dcb9212252cec2c59ca245ac17 (patch) | |
tree | ae3be6602212f0bf73fc48283f2944f61404a756 /objectivec/GPBDictionary.m | |
parent | d6470abef1ca76c40e6da3b4445b7c32f1d0e2e3 (diff) | |
download | protobuf-46f36d79a21474dcb9212252cec2c59ca245ac17.tar.gz protobuf-46f36d79a21474dcb9212252cec2c59ca245ac17.tar.bz2 protobuf-46f36d79a21474dcb9212252cec2c59ca245ac17.zip |
Fix some cases of reading of 64bit map values.
Fixes https://github.com/google/protobuf/issues/3164.
Diffstat (limited to 'objectivec/GPBDictionary.m')
-rw-r--r-- | objectivec/GPBDictionary.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/objectivec/GPBDictionary.m b/objectivec/GPBDictionary.m index 1c67c680..a7a8871b 100644 --- a/objectivec/GPBDictionary.m +++ b/objectivec/GPBDictionary.m @@ -406,7 +406,7 @@ static void ReadValue(GPBCodedInputStream *stream, valueToFill->valueInt32 = GPBCodedInputStreamReadInt32(&stream->state_); break; case GPBDataTypeInt64: - valueToFill->valueInt64 = GPBCodedInputStreamReadInt32(&stream->state_); + valueToFill->valueInt64 = GPBCodedInputStreamReadInt64(&stream->state_); break; case GPBDataTypeSInt32: valueToFill->valueInt32 = GPBCodedInputStreamReadSInt32(&stream->state_); |