diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-05-26 23:56:16 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-05-26 23:56:16 +0200 |
commit | 8766ae676d2f6b1642bf80f0b8dbe62a93ced2f7 (patch) | |
tree | 6a7a2da95cb90af2fc66986924b09a28725e75c9 /src/gui/npcdialog.cpp | |
parent | b35aef2d924f03d85eb44a2465be5a745444eafd (diff) | |
download | mana-8766ae676d2f6b1642bf80f0b8dbe62a93ced2f7.tar.gz mana-8766ae676d2f6b1642bf80f0b8dbe62a93ced2f7.tar.bz2 mana-8766ae676d2f6b1642bf80f0b8dbe62a93ced2f7.tar.xz mana-8766ae676d2f6b1642bf80f0b8dbe62a93ced2f7.zip |
Fix compilation on gcc 4.6.1.
Diffstat (limited to 'src/gui/npcdialog.cpp')
-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 5209d69b..61e2204d 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -407,7 +407,7 @@ void NpcDialog::mouseClicked(gcn::MouseEvent &mouseEvent) { action(gcn::ActionEvent(mButton, mButton->getActionEventId())); } - if (mouseEvent.getSource() == mTextBox && isDoubleClick((int)mTextBox)) + if (mouseEvent.getSource() == mTextBox && isDoubleClick((int)(long)mTextBox)) { if (mActionState == NPC_ACTION_NEXT || mActionState == NPC_ACTION_CLOSE) action(gcn::ActionEvent(mButton, mButton->getActionEventId())); |