From: cacao Date: Mon, 12 Oct 1998 15:43:24 +0000 (+0000) Subject: error in heap_addref corrected X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=924c0d884b31dd5acd12af7382bdd31a40326eac;p=cacao.git error in heap_addref corrected --- diff --git a/src/threads/green/threads.c b/src/threads/green/threads.c index 775548d27..55eeea3d6 100644 --- a/src/threads/green/threads.c +++ b/src/threads/green/threads.c @@ -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; diff --git a/threads/thread.c b/threads/thread.c index 775548d27..55eeea3d6 100644 --- a/threads/thread.c +++ b/threads/thread.c @@ -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;