error in heap_addref corrected
authorcacao <none@none>
Mon, 12 Oct 1998 15:43:24 +0000 (15:43 +0000)
committercacao <none@none>
Mon, 12 Oct 1998 15:43:24 +0000 (15:43 +0000)
src/threads/green/threads.c
threads/thread.c

index 775548d270ed51a65a734104e6e222e6c098dcc2..55eeea3d69cbbcb800b4c97307d30812bef1f94e 100644 (file)
@@ -134,7 +134,7 @@ initThreads(u1 *stackbottom)
     /* Allocate a thread to be the main thread */
     liveThreads = the_main_thread = (thread*)builtin_new(loader_load(unicode_new_char("java/lang/Thread")));
     assert(the_main_thread != 0);
-       heap_addreference(&liveThreads);
+       heap_addreference((void **) &liveThreads);
     
     the_main_thread->PrivateInfo = 1;
     CONTEXT(the_main_thread).free = false;
index 775548d270ed51a65a734104e6e222e6c098dcc2..55eeea3d69cbbcb800b4c97307d30812bef1f94e 100644 (file)
@@ -134,7 +134,7 @@ initThreads(u1 *stackbottom)
     /* Allocate a thread to be the main thread */
     liveThreads = the_main_thread = (thread*)builtin_new(loader_load(unicode_new_char("java/lang/Thread")));
     assert(the_main_thread != 0);
-       heap_addreference(&liveThreads);
+       heap_addreference((void **) &liveThreads);
     
     the_main_thread->PrivateInfo = 1;
     CONTEXT(the_main_thread).free = false;