diff --git a/src/google/protobuf/map.h b/src/google/protobuf/map.h index 72a1b1a3..6bc65604 100644 --- a/src/google/protobuf/map.h +++ b/src/google/protobuf/map.h @@ -275,7 +275,7 @@ class LIBPROTOBUF_EXPORT MapValueRef { "MapValueRef::SetInt32Value"); *reinterpret_cast(data_) = value; } - void SetUInt32Value(uint64 value) { + void SetUInt32Value(uint32 value) { TYPE_CHECK(FieldDescriptor::CPPTYPE_UINT32, "MapValueRef::SetUInt32Value"); *reinterpret_cast(data_) = value;