diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2018-09-05 11:30:40 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2018-09-14 16:42:42 +0300 |
commit | e78e3f6fdc1ca356168422e8babf317d668f9ef2 (patch) | |
tree | a9d83e0cd05c15546dde3ca814074bfa5757663a /indexer/interval_index_builder.hpp | |
parent | ea3407d1ec6a2800353896fac481023dbc3f4854 (diff) |
Review fixes.
Diffstat (limited to 'indexer/interval_index_builder.hpp')
-rw-r--r-- | indexer/interval_index_builder.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/interval_index_builder.hpp b/indexer/interval_index_builder.hpp index c2d8f00cdf..d3ca2b1d32 100644 --- a/indexer/interval_index_builder.hpp +++ b/indexer/interval_index_builder.hpp @@ -230,7 +230,7 @@ public: prevValue = 0; prevPos = writer.Pos(); } - uint64_t const keySerial = SwapIfBigEndian(key); + uint64_t const keySerial = SwapIfBigEndianMacroBased(key); writer.Write(&keySerial, m_LeafBytes); WriteVarInt(writer, static_cast<int64_t>(value) - static_cast<int64_t>(prevValue)); prevKey = key; |