aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-13 01:38:09 +0800
committerarved <arved@FreeBSD.org>2007-08-13 01:38:09 +0800
commit38e00030a4eba23df97a2c733ade90c20b1afc38 (patch)
treede778f4b5e3ae6234b1c51b5bcb6a00ba3bcd0a2 /graphics
parent7f46f47c852b575a3091aa33c1c88b9c95a97785 (diff)
downloadfreebsd-ports-gnome-38e00030a4eba23df97a2c733ade90c20b1afc38.tar.gz
freebsd-ports-gnome-38e00030a4eba23df97a2c733ade90c20b1afc38.tar.zst
freebsd-ports-gnome-38e00030a4eba23df97a2c733ade90c20b1afc38.zip
Fix build on 64bit platforms
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tcm/files/patch-src_ui_menu.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/tcm/files/patch-src_ui_menu.c b/graphics/tcm/files/patch-src_ui_menu.c
new file mode 100644
index 000000000000..5453c3c3dd03
--- /dev/null
+++ b/graphics/tcm/files/patch-src_ui_menu.c
@@ -0,0 +1,11 @@
+--- src/ui/menu.c.bak 2007-08-12 19:22:03.000000000 +0200
++++ src/ui/menu.c 2007-08-12 19:22:15.000000000 +0200
+@@ -217,7 +217,7 @@
+ XmNindicatorType, XmONE_OF_MANY, (void *)0);
+ }
+ // selected or not ?
+- if ((int)items[i].userData & 0x1)
++ if ((intptr_t)items[i].userData & 0x1)
+ XtVaSetValues(submenu, XmNset, True, (void *)0);
+
+ }