aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-08-12 17:32:00 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-08-12 17:32:00 +0000
commitb79ff09ce869bf50038d3ec4ad0f337eb1aed25d (patch)
treee946c82c5fb16d7606e5c82146e0cef076e76eed
parent7d114c392d56d6f2c5a4619bd1db36d62b00f426 (diff)
downloadports-b79ff09ce869bf50038d3ec4ad0f337eb1aed25d.tar.gz
ports-b79ff09ce869bf50038d3ec4ad0f337eb1aed25d.zip
Fix build on 64bit platforms
Notes
Notes: svn path=/head/; revision=197536
-rw-r--r--x11-toolkits/mesgui/files/patch-ggFrame.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/mesgui/files/patch-ggFrame.cpp b/x11-toolkits/mesgui/files/patch-ggFrame.cpp
new file mode 100644
index 000000000000..4a2d52756c8f
--- /dev/null
+++ b/x11-toolkits/mesgui/files/patch-ggFrame.cpp
@@ -0,0 +1,11 @@
+--- src/ggFrame.cpp.pre_tr.orig 2007-08-12 19:28:07.000000000 +0200
++++ src/ggFrame.cpp 2007-08-12 19:28:25.000000000 +0200
+@@ -450,7 +450,7 @@
+
+ void ggFrame::AddCloseButton()
+ {
+- ggButton *button = new ggButton("",OnClose,(int)this,0,0,0,0);
++ ggButton *button = new ggButton("",OnClose,(intptr_t)this,0,0,0,0);
+ button->flags |= GGFLAG_ICON;
+ button->icon = GGICON_CLOSE;
+ button->SetPos(xsize-COL_HEIGHT+3,-COL_HEIGHT+3,COL_HEIGHT-6,COL_HEIGHT-6);