diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-04 22:21:31 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-04 22:21:31 +0200 |
commit | a619eb7423589d3a451f44972819594836e835a1 (patch) | |
tree | d0db77e8620cdf78fdd11e528ba1b37113850f2a /src/gui | |
parent | b2f13ab96fe3dfbc78f28289ff27f8b2996f9259 (diff) | |
download | mana-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.cpp | 2 |
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)); |