diff --git a/src/type/bigint_type.cpp b/src/type/bigint_type.cpp index 28adde0095..fe79ea7248 100644 --- a/src/type/bigint_type.cpp +++ b/src/type/bigint_type.cpp @@ -289,7 +289,7 @@ void BigintType::SerializeTo(const Value& val, SerializeOutput &out) const { void BigintType::SerializeTo(const Value& val, char *storage, bool inlined UNUSED_ATTRIBUTE, AbstractPool *pool UNUSED_ATTRIBUTE) const { - *reinterpret_cast(storage) = val.value_.bigint; + *reinterpret_cast(storage) = val.value_.bigint; }