summaryrefslogtreecommitdiff
path: root/libs/hunspell/src/affentry.hxx
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-05-13 19:32:21 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-05-13 19:32:21 +0000
commit37c98eaad76b7f1bf86c75fe2c32cf6aa11f7c6f (patch)
tree32aede144aa0cd0f2dd058b003cdbd534a2f969c /libs/hunspell/src/affentry.hxx
parente73bb3845517a31fa795e8d2174fcc8572835b33 (diff)
SpellChecker: Updated hunspell to 1.4.1
git-svn-id: http://svn.miranda-ng.org/main/trunk@16828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'libs/hunspell/src/affentry.hxx')
-rw-r--r--libs/hunspell/src/affentry.hxx8
1 files changed, 4 insertions, 4 deletions
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; }