Commit b699c285 authored by Feng Xiao's avatar Feng Xiao

Merge pull request #876 from tkarls/use_correct_int_type_in_set_function

Changed argument typ to uint32 in set function that sets an uint32 value
parents 49f24afb 59906e81
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment