From 37c98eaad76b7f1bf86c75fe2c32cf6aa11f7c6f Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 13 May 2016 19:32:21 +0000 Subject: SpellChecker: Updated hunspell to 1.4.1 git-svn-id: http://svn.miranda-ng.org/main/trunk@16828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- libs/hunspell/src/affentry.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/hunspell/src/affentry.hxx') diff --git a/libs/hunspell/src/affentry.hxx b/libs/hunspell/src/affentry.hxx index f3db20013c..6311d83fff 100644 --- a/libs/hunspell/src/affentry.hxx +++ b/libs/hunspell/src/affentry.hxx @@ -122,7 +122,7 @@ class LIBHUNSPELL_DLL_EXPORTED PfxEntry : protected AffEntry { inline FLAG getFlag() { return aflag; } inline const char* getKey() { return appnd.c_str(); } - char* add(const char* word, int len); + char* add(const char* word, size_t len); inline short getKeyLen() { return appnd.size(); } @@ -154,7 +154,7 @@ class LIBHUNSPELL_DLL_EXPORTED SfxEntry : protected AffEntry { private: AffixMgr* pmyMgr; - char* rappnd; + std::string rappnd; SfxEntry* next; SfxEntry* nexteq; @@ -200,8 +200,8 @@ class LIBHUNSPELL_DLL_EXPORTED SfxEntry : protected AffEntry { const FLAG needflag); inline FLAG getFlag() { return aflag; } - inline const char* getKey() { return rappnd; } - char* add(const char* word, int len); + inline const char* getKey() { return rappnd.c_str(); } + char* add(const char* word, size_t len); inline const char* getMorph() { return morphcode; } -- cgit v1.2.3