[uae] Fix for building Gtk+ GUI on 64-bit systems

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Thu, 4 May 2006 11:33:18 -0400

Hi All

Attached is a patch to fix building of the Gtk+ GUI on 64-bit systems. This 
fix is now in CVS too.

Cheers,
Rich
Index: src/gui-gtk/util.h
===================================================================
RCS file: /cvsroot/uaedev/uae/src/gui-gtk/util.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- src/gui-gtk/util.h  30 Aug 2005 13:59:17 -0000      1.3
+++ src/gui-gtk/util.h  4 May 2006 14:15:06 -0000       1.4
@@ -34,7 +34,7 @@
 extern void add_table_padding (GtkWidget *table, int x, int y);
 extern void add_to_table(GtkWidget *table, GtkWidget *widget, int x, int y, 
int width, int xflags);
 
-#define GTKUTIL_TABLE_END      0
+#define GTKUTIL_TABLE_END      ((GtkWidget *)0)
 #define GTKUTIL_ROW_END                ((GtkWidget *)1)
 
 extern GtkWidget *gtkutil_add_table (GtkWidget *container, ...);

Other related posts:

  • » [uae] Fix for building Gtk+ GUI on 64-bit systems