aboutsummaryrefslogtreecommitdiffstats
path: root/games/wesnoth
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-30 16:54:10 +0800
committerkrion <krion@FreeBSD.org>2004-01-30 16:54:10 +0800
commit1bd6f03091eff780ebfbff37de174534851bea93 (patch)
treecd9071e02f6f221a933b68cc51b3ea94c8052676 /games/wesnoth
parent301548c8d6dd43f7148ecab27befddc9d041a3c9 (diff)
downloadfreebsd-ports-gnome-1bd6f03091eff780ebfbff37de174534851bea93.tar.gz
freebsd-ports-gnome-1bd6f03091eff780ebfbff37de174534851bea93.tar.zst
freebsd-ports-gnome-1bd6f03091eff780ebfbff37de174534851bea93.zip
- Fix build on alpha
PR: ports/62096 Submitted by: maintainer Noticed by: bento via kris
Diffstat (limited to 'games/wesnoth')
-rw-r--r--games/wesnoth/files/patch-src::widgets::menu.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/wesnoth/files/patch-src::widgets::menu.cpp b/games/wesnoth/files/patch-src::widgets::menu.cpp
new file mode 100644
index 000000000000..7e8eddbfad3e
--- /dev/null
+++ b/games/wesnoth/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);