1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix build on 64bit platforms

This commit is contained in:
Tilman Keskinoz 2007-08-12 17:32:00 +00:00
parent 7d114c392d
commit b79ff09ce8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197536

View File

@ -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);