summaryrefslogtreecommitdiff
path: root/src/spellmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r--src/spellmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp
index 1e4c43f1f..854e1f918 100644
--- a/src/spellmanager.cpp
+++ b/src/spellmanager.cpp
@@ -362,7 +362,7 @@ std::string SpellManager::autoComplete(std::string partName)
if (line != "")
{
- std::string::size_type pos = line.find(partName, 0);
+ size_t pos = line.find(partName, 0);
if (pos == 0)
{
if (newName != "")