Fix debug build.

Change-Id: Id94636714d04a8828718b87741c0ee62a14cb3b4
This commit is contained in:
Keisuke Kuroyanagi 2014-10-21 20:20:11 +09:00
parent dfc82fa366
commit 0b8bb0c21b
2 changed files with 4 additions and 4 deletions

View file

@ -53,8 +53,8 @@ bool Ver4PatriciaTrieWritingHelper::writeToDictFile(const char *const dictDirPat
entryCounts, extendedRegionSize, &headerBuffer)) { entryCounts, extendedRegionSize, &headerBuffer)) {
AKLOGE("Cannot write header structure to buffer. " AKLOGE("Cannot write header structure to buffer. "
"updatesLastDecayedTime: %d, unigramCount: %d, bigramCount: %d, " "updatesLastDecayedTime: %d, unigramCount: %d, bigramCount: %d, "
"extendedRegionSize: %d", false, entryCounters.getUnigramCount(), "extendedRegionSize: %d", false, entryCounts.getUnigramCount(),
entryCounters.getBigramCount(), extendedRegionSize); entryCounts.getBigramCount(), extendedRegionSize);
return false; return false;
} }
return mBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); return mBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer);

View file

@ -43,8 +43,8 @@ bool Ver4PatriciaTrieWritingHelper::writeToDictFile(const char *const dictDirPat
entryCounts, extendedRegionSize, &headerBuffer)) { entryCounts, extendedRegionSize, &headerBuffer)) {
AKLOGE("Cannot write header structure to buffer. " AKLOGE("Cannot write header structure to buffer. "
"updatesLastDecayedTime: %d, unigramCount: %d, bigramCount: %d, trigramCount: %d," "updatesLastDecayedTime: %d, unigramCount: %d, bigramCount: %d, trigramCount: %d,"
"extendedRegionSize: %d", false, entryCounters.getUnigramCount(), "extendedRegionSize: %d", false, entryCounts.getUnigramCount(),
entryCounters.getBigramCount(), entryCounters.getTrigramCount(), entryCounts.getBigramCount(), entryCounts.getTrigramCount(),
extendedRegionSize); extendedRegionSize);
return false; return false;
} }