Fix build.

Change-Id: I1c3c2996ca11bfe8864df774e9280893cf17c0d4
This commit is contained in:
Keisuke Kuroyanagi 2013-09-17 13:03:12 +09:00
parent 8bdb2707a8
commit 6d1a29eaab

View file

@ -115,7 +115,7 @@ bool DynamicBigramListPolicy::addNewBigramEntryToBigramList(const int bigramPos,
flags = BigramListReadWriteUtils::getFlagsAndForwardPointer(buffer, pos);
int originalBigramPos = BigramListReadWriteUtils::getBigramAddressAndForwardPointer(
buffer, flags, pos);
if (usesAdditionalBuffer && originalBigramPos != NOT_A_VALID_WORD_POS) {
if (usesAdditionalBuffer && originalBigramPos != NOT_A_DICT_POS) {
originalBigramPos += mBuffer->getOriginalBufferSize();
}
if (followBigramLinkAndGetCurrentBigramPtNodePos(originalBigramPos) == bigramPos) {