From 59906e81d844555b86c6cf253c63750bfdf2a772 Mon Sep 17 00:00:00 2001 From: Thomas Karlsson Date: Tue, 13 Oct 2015 13:35:07 +0200 Subject: Changed argument typ to uint32 in set function that sets an uint32 value --- src/google/protobuf/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/google/protobuf/map.h') 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; -- cgit v1.2.3