Fixed --with-threads, small 64-bit prob

This commit is contained in:
Jeff Garzik
1998-12-15 15:47:13 +00:00
parent dcd0c664b7
commit 5c31783df2
10 changed files with 54 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ test_private ()
gpointer threads[TEST_PRIVATE_THREADS];
for (i = 0; i < TEST_PRIVATE_THREADS; i++)
{
threads[i] = new_thread (test_private_func, (gpointer) i);
threads[i] = new_thread (test_private_func, GINT_TO_POINTER(i));
}
for (i = 0; i < TEST_PRIVATE_THREADS; i++)
{