[glib/gobject-performance] Fix crashes on 64bit in performance-threaded test



commit 1a6e79fe59fd7b9e472254a734acc3d7e1086660
Author: Benjamin Otte <otte gnome org>
Date:   Thu Sep 24 15:06:08 2009 +0200

    Fix crashes on 64bit in performance-threaded test

 tests/gobject/performance-threaded.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/gobject/performance-threaded.c b/tests/gobject/performance-threaded.c
index eb3833e..56a21eb 100644
--- a/tests/gobject/performance-threaded.c
+++ b/tests/gobject/performance-threaded.c
@@ -66,7 +66,7 @@ register_types (void)
 
       liststore = simple_register_class ("GtkListStore", G_TYPE_OBJECT, 
           liststore_interfaces[0], liststore_interfaces[1], liststore_interfaces[2],
-          liststore_interfaces[3], liststore_interfaces[4], 0);
+          liststore_interfaces[3], liststore_interfaces[4], (GType) 0);
 
       g_once_init_leave (&inited, 1);
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]