summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-04 22:21:31 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-04 22:21:31 +0200
commita619eb7423589d3a451f44972819594836e835a1 (patch)
treed0db77e8620cdf78fdd11e528ba1b37113850f2a /src/gui
parentb2f13ab96fe3dfbc78f28289ff27f8b2996f9259 (diff)
downloadmana-a619eb7423589d3a451f44972819594836e835a1.tar.gz
mana-a619eb7423589d3a451f44972819594836e835a1.tar.bz2
mana-a619eb7423589d3a451f44972819594836e835a1.tar.xz
mana-a619eb7423589d3a451f44972819594836e835a1.zip
Fixed compile with MinGW/G++ 4.6.2
It does not know 'ushort', and this variable should be 'size_t' anyway.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index 5f6f0ddf..bf8cacff 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -153,7 +153,7 @@ void NpcDialog::logic()
{
mTextPlayTime = tick_time;
- ushort currentLength = mTextBox->getText().length();
+ size_t currentLength = mTextBox->getText().length();
if (currentLength < mText.length())
{
setText(mText.substr(0, currentLength + 1));