Changed argument typ to uint32 in set function that sets an uint32 value

This commit is contained in:
Thomas Karlsson 2015-10-13 13:35:07 +02:00
parent 49f24afb45
commit 59906e81d8

View file

@ -275,7 +275,7 @@ class LIBPROTOBUF_EXPORT MapValueRef {
"MapValueRef::SetInt32Value");
*reinterpret_cast<int32*>(data_) = value;
}
void SetUInt32Value(uint64 value) {
void SetUInt32Value(uint32 value) {
TYPE_CHECK(FieldDescriptor::CPPTYPE_UINT32,
"MapValueRef::SetUInt32Value");
*reinterpret_cast<uint32*>(data_) = value;