Use GUINT_TO_POINTER for g_thread_create data.
authorManish Singh <yosh@gimp.org>
Tue, 18 Nov 2003 01:29:36 +0000 (01:29 +0000)
committerManish Singh <yosh@src.gnome.org>
Tue, 18 Nov 2003 01:29:36 +0000 (01:29 +0000)
Mon Nov 17 17:28:10 2003  Manish Singh  <yosh@gimp.org>

        * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
        for g_thread_create data.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
tests/thread-test.c

index dd64052..9b6c1b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Nov 17 17:28:10 2003  Manish Singh  <yosh@gimp.org>
+
+       * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
+       for g_thread_create data.
+
 Sat Nov 15 23:00:57 2003  Matthias Clasen  <maclas@gmx.de>
 
        * glib/guniprop.c (g_utf8_casefold): Add a NULL check
index dd64052..9b6c1b2 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov 17 17:28:10 2003  Manish Singh  <yosh@gimp.org>
+
+       * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
+       for g_thread_create data.
+
 Sat Nov 15 23:00:57 2003  Matthias Clasen  <maclas@gmx.de>
 
        * glib/guniprop.c (g_utf8_casefold): Add a NULL check
index dd64052..9b6c1b2 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov 17 17:28:10 2003  Manish Singh  <yosh@gimp.org>
+
+       * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
+       for g_thread_create data.
+
 Sat Nov 15 23:00:57 2003  Matthias Clasen  <maclas@gmx.de>
 
        * glib/guniprop.c (g_utf8_casefold): Add a NULL check
index dd64052..9b6c1b2 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov 17 17:28:10 2003  Manish Singh  <yosh@gimp.org>
+
+       * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
+       for g_thread_create data.
+
 Sat Nov 15 23:00:57 2003  Matthias Clasen  <maclas@gmx.de>
 
        * glib/guniprop.c (g_utf8_casefold): Add a NULL check
index dd64052..9b6c1b2 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov 17 17:28:10 2003  Manish Singh  <yosh@gimp.org>
+
+       * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
+       for g_thread_create data.
+
 Sat Nov 15 23:00:57 2003  Matthias Clasen  <maclas@gmx.de>
 
        * glib/guniprop.c (g_utf8_casefold): Add a NULL check
index dd64052..9b6c1b2 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov 17 17:28:10 2003  Manish Singh  <yosh@gimp.org>
+
+       * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
+       for g_thread_create data.
+
 Sat Nov 15 23:00:57 2003  Matthias Clasen  <maclas@gmx.de>
 
        * glib/guniprop.c (g_utf8_casefold): Add a NULL check
index 8bed23b..47b030b 100644 (file)
@@ -354,7 +354,7 @@ test_g_thread_once (void)
   G_LOCK (test_g_once);
   for (i = 0; i < G_ONCE_THREADS; i++)
     {
-      threads[i] = g_thread_create (test_g_once_thread, (gpointer)(i%2), 
+      threads[i] = g_thread_create (test_g_once_thread, GUINT_TO_POINTER(i%2), 
                                    TRUE, NULL);
     }
   G_UNLOCK (test_g_once);