1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/znibbles/files/patch-src::GTK::Menus.C
Pietro Cerutti 4a30b77282 - Fix build on 64-bits platforms
- UNBREAK on amd64, GCC4.2

Approved by:	portmgr (erwin)
2008-09-15 18:10:26 +00:00

12 lines
420 B
C

--- src/GTK/Menus.C.orig 2008-09-15 17:23:52.000000000 +0000
+++ src/GTK/Menus.C 2008-09-15 17:25:14.000000000 +0000
@@ -61,7 +61,7 @@
// Obligatory basic callback
void Menus::menu_callback_static(gpointer data, gpointer action, GtkWidget *w) {
- switch((gint) action) {
+ switch((gulong)action) {
case ItemFileOther:
Menus::_interface->activate_other_player();
gtk_widget_set_sensitive(w, FALSE);