From 46f36d79a21474dcb9212252cec2c59ca245ac17 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Thu, 1 Jun 2017 14:25:45 -0400 Subject: Fix some cases of reading of 64bit map values. Fixes https://github.com/google/protobuf/issues/3164. --- objectivec/GPBDictionary.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'objectivec/GPBDictionary.m') 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_); -- cgit v1.2.3