summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_large_table3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/phrase_large_table3.cpp')
-rw-r--r--src/storage/phrase_large_table3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/phrase_large_table3.cpp b/src/storage/phrase_large_table3.cpp
index f1ae3e9..a769d0b 100644
--- a/src/storage/phrase_large_table3.cpp
+++ b/src/storage/phrase_large_table3.cpp
@@ -94,7 +94,7 @@ int PhraseTableEntry::get_length() const {
const phrase_token_t * begin = (phrase_token_t *) m_chunk.begin();
const phrase_token_t * end = (phrase_token_t *) m_chunk.end();
- return begin - end;
+ return end - begin;
}
/* mask out method */