From ab47fa7884de2cb3a4f9f04c83b80a2b41154628 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 23 Jul 2007 21:35:03 -0600 Subject: [PATCH] fix member/parameter confusion in Thread::Thread() --- src/machine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine.cpp b/src/machine.cpp index 915760745f..6a0da2f6cb 100644 --- a/src/machine.cpp +++ b/src/machine.cpp @@ -1376,7 +1376,7 @@ Thread::Thread(Machine* m, object javaThread, Thread* parent): builtin::populate(t, m->builtinMap); - javaThread = makeThread(t, 0, 0, reinterpret_cast(t)); + t->javaThread = makeThread(t, 0, 0, reinterpret_cast(t)); } else { threadPeer(this, javaThread) = reinterpret_cast(this); parent->child = this;