Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
fix bigint serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
phisiart authored and apavlo committed Apr 15, 2017
1 parent b191a33 commit e1d16fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/type/bigint_type.cpp
Expand Up @@ -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<int32_t *>(storage) = val.value_.bigint;
*reinterpret_cast<int64_t *>(storage) = val.value_.bigint;

}

Expand Down

0 comments on commit e1d16fe

Please sign in to comment.