summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/hunspell/src/affentry.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hunspell/src/affentry.hxx b/libs/hunspell/src/affentry.hxx
index 4bafc043f4..535a96bc42 100644
--- a/libs/hunspell/src/affentry.hxx
+++ b/libs/hunspell/src/affentry.hxx
@@ -118,7 +118,7 @@ class PfxEntry : public AffEntry {
const char* getKey() { return appnd.c_str(); }
std::string add(const char* word, size_t len);
- inline short getKeyLen() { return appnd.size(); }
+ inline short getKeyLen() { return (short)appnd.size(); }
inline const char* getMorph() { return morphcode; }
@@ -199,7 +199,7 @@ class SfxEntry : public AffEntry {
inline short getContLen() { return contclasslen; }
inline const char* getAffix() { return appnd.c_str(); }
- inline short getKeyLen() { return appnd.size(); }
+ inline short getKeyLen() { return (short)appnd.size(); }
inline SfxEntry* getNext() { return next; }
inline SfxEntry* getNextNE() { return nextne; }