* link.cc (link_symbol_table): Do not use intptr_t.
From-SVN: r91472
This commit is contained in:
parent
c6f9f83bc8
commit
67bbb1e122
@ -1,3 +1,7 @@
|
||||
2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
* link.cc (link_symbol_table): Do not use intptr_t.
|
||||
|
||||
2004-11-28 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
|
||||
|
@ -1073,7 +1073,7 @@ _Jv_Linker::link_symbol_table (jclass klass)
|
||||
if (found)
|
||||
{
|
||||
klass->itable->addresses[index * 2] = cls;
|
||||
klass->itable->addresses[index * 2 + 1] = (void *)(intptr_t) i;
|
||||
klass->itable->addresses[index * 2 + 1] = (void *)(unsigned long) i;
|
||||
if (debug_link)
|
||||
{
|
||||
fprintf (stderr, " interfaces[%d] = %p (interface %s@%p : %s(%s))\n",
|
||||
@ -1085,7 +1085,7 @@ _Jv_Linker::link_symbol_table (jclass klass)
|
||||
(const char*)signature->chars());
|
||||
fprintf (stderr, " [%d] = offset %d\n",
|
||||
index + 1,
|
||||
(int)(intptr_t)klass->itable->addresses[index * 2 + 1]);
|
||||
(int)(unsigned long)klass->itable->addresses[index * 2 + 1]);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user