summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index 90fbebebc..e89700e5b 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -647,7 +647,7 @@ void NpcDialog::action(const ActionEvent &event)
{
if (cmd == *it)
{
- npcHandler->listInput(mNpcId, cnt + 1);
+ npcHandler->listInput(mNpcId, CAST_U8(cnt + 1));
printText = mItems[cnt];
if (mInputState != NPC_INPUT_ITEM &&