diff options
Diffstat (limited to 'native')
-rw-r--r-- | native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.cpp b/native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.cpp index 5ef8e50b4..f5eee99c3 100644 --- a/native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.cpp +++ b/native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.cpp @@ -116,10 +116,10 @@ const char *const HeaderReadWriteUtils::REQUIRES_FRENCH_LIGATURE_PROCESSING_KEY // Version 2 dictionary writing is not supported. return false; case FormatUtils::VERSION_3: - return buffer->writeUintAndAdvancePosition(3 /* data */, + return buffer->writeUintAndAdvancePosition(FormatUtils::VERSION_3 /* data */, HEADER_DICTIONARY_VERSION_SIZE, writingPos); case FormatUtils::VERSION_4: - return buffer->writeUintAndAdvancePosition(4 /* data */, + return buffer->writeUintAndAdvancePosition(FormatUtils::VERSION_4 /* data */, HEADER_DICTIONARY_VERSION_SIZE, writingPos); default: return false; |