aboutsummaryrefslogtreecommitdiff
path: root/games/wesnoth-devel
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-30 08:54:10 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-30 08:54:10 +0000
commit44f74845e2b5e2eb5f8afaecb467ad6db262103a (patch)
treeca70755c8d8a2d6be48c22c8a73a53b338f26c52 /games/wesnoth-devel
parent8ed3a1bc1cf836261f8db943a6a5c7678297ccdd (diff)
downloadports-44f74845e2b5e2eb5f8afaecb467ad6db262103a.tar.gz
ports-44f74845e2b5e2eb5f8afaecb467ad6db262103a.zip
- Fix build on alpha
PR: ports/62096 Submitted by: maintainer Noticed by: bento via kris
Notes
Notes: svn path=/head/; revision=99474
Diffstat (limited to 'games/wesnoth-devel')
-rw-r--r--games/wesnoth-devel/files/patch-src::widgets::menu.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/wesnoth-devel/files/patch-src::widgets::menu.cpp b/games/wesnoth-devel/files/patch-src::widgets::menu.cpp
new file mode 100644
index 000000000000..7e8eddbfad3e
--- /dev/null
+++ b/games/wesnoth-devel/files/patch-src::widgets::menu.cpp
@@ -0,0 +1,13 @@
+--- src/widgets/menu.cpp.orig Thu Jan 29 22:23:06 2004
++++ src/widgets/menu.cpp Thu Jan 29 22:23:49 2004
+@@ -191,8 +191,8 @@
+ x = event.button.x;
+ y = event.button.y;
+ } else {
+- x = reinterpret_cast<int>(event.user.data1);
+- y = reinterpret_cast<int>(event.user.data2);
++ x = (int)event.user.data1;
++ y = (int)event.user.data2;
+ }
+
+ const int item = hit(x,y);