Use GUINT_TO_POINTER for g_thread_create data.

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.
This commit is contained in:
Manish Singh 2003-11-18 01:29:36 +00:00 committed by Manish Singh
parent 0fd4b6d674
commit 2b78955298
7 changed files with 31 additions and 1 deletions

View 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

View 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

View 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

View 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

View 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

View 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

View 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);