From: Manish Singh Date: Tue, 18 Nov 2003 01:29:36 +0000 (+0000) Subject: Use GUINT_TO_POINTER for g_thread_create data. X-Git-Tag: GLIB_2_3_1~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b789552985c20a19f8450cfe6afd057b550bfe1;p=platform%2Fupstream%2Fglib.git Use GUINT_TO_POINTER for g_thread_create data. Mon Nov 17 17:28:10 2003 Manish Singh * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER for g_thread_create data. --- diff --git a/ChangeLog b/ChangeLog index dd64052..9b6c1b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 17 17:28:10 2003 Manish Singh + + * 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 * glib/guniprop.c (g_utf8_casefold): Add a NULL check diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index dd64052..9b6c1b2 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Mon Nov 17 17:28:10 2003 Manish Singh + + * 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 * glib/guniprop.c (g_utf8_casefold): Add a NULL check diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index dd64052..9b6c1b2 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Mon Nov 17 17:28:10 2003 Manish Singh + + * 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 * glib/guniprop.c (g_utf8_casefold): Add a NULL check diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index dd64052..9b6c1b2 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Mon Nov 17 17:28:10 2003 Manish Singh + + * 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 * glib/guniprop.c (g_utf8_casefold): Add a NULL check diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index dd64052..9b6c1b2 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Mon Nov 17 17:28:10 2003 Manish Singh + + * 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 * glib/guniprop.c (g_utf8_casefold): Add a NULL check diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index dd64052..9b6c1b2 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Mon Nov 17 17:28:10 2003 Manish Singh + + * 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 * glib/guniprop.c (g_utf8_casefold): Add a NULL check diff --git a/tests/thread-test.c b/tests/thread-test.c index 8bed23b..47b030b 100644 --- a/tests/thread-test.c +++ b/tests/thread-test.c @@ -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);