aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/map.h
diff options
context:
space:
mode:
authorGravatar Thomas Karlsson <thomas.karlsson@paneda.se>2015-10-13 13:35:07 +0200
committerGravatar Thomas Karlsson <thomas.karlsson@paneda.se>2015-10-13 13:35:07 +0200
commit59906e81d844555b86c6cf253c63750bfdf2a772 (patch)
treec7769708a08b4de3ab25e41142a08a5b6da7f866 /src/google/protobuf/map.h
parent49f24afb45b7add17af3ed4493fa0a94d1cc64da (diff)
Changed argument typ to uint32 in set function that sets an uint32 value
Diffstat (limited to 'src/google/protobuf/map.h')
-rw-r--r--src/google/protobuf/map.h2
1 files changed, 1 insertions, 1 deletions
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<int32*>(data_) = value;
}
- void SetUInt32Value(uint64 value) {
+ void SetUInt32Value(uint32 value) {
TYPE_CHECK(FieldDescriptor::CPPTYPE_UINT32,
"MapValueRef::SetUInt32Value");
*reinterpret_cast<uint32*>(data_) = value;