From e1d16feaacab85cd09eb0e46c131d99c399748b8 Mon Sep 17 00:00:00 2001 From: zhixunt Date: Fri, 14 Apr 2017 22:23:34 -0400 Subject: [PATCH] fix bigint serialization --- src/type/bigint_type.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }