summaryrefslogtreecommitdiff
path: root/src/guichan/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets')
-rw-r--r--src/guichan/widgets/textbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widgets/textbox.cpp b/src/guichan/widgets/textbox.cpp
index c2cd5586f..da7edaac7 100644
--- a/src/guichan/widgets/textbox.cpp
+++ b/src/guichan/widgets/textbox.cpp
@@ -97,7 +97,7 @@ namespace gcn
mTextRows.clear();
- std::string::size_type pos, lastPos = 0;
+ size_t pos, lastPos = 0;
int length;
do
{