From a619eb7423589d3a451f44972819594836e835a1 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 4 Aug 2012 22:21:31 +0200 Subject: Fixed compile with MinGW/G++ 4.6.2 It does not know 'ushort', and this variable should be 'size_t' anyway. --- src/gui/npcdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.3-70-g09d2