1999-08-17 H.J. Lu <hjl@gnu.org>
* ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof.
This commit is contained in:
parent
1396cd2d7f
commit
5be8a006bb
@ -1,3 +1,7 @@
|
||||
1999-08-17 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof.
|
||||
|
||||
1999-08-09 Jakub Jelinek <jj@ultra.linux.cz>
|
||||
|
||||
* ld-elfvers/vers.exp: Run tests on sparc*-*-linux*.
|
||||
|
@ -22,7 +22,7 @@ int Foo::foos = 0;
|
||||
|
||||
void Foo::init_foo ()
|
||||
{
|
||||
printf ("BROKENLY calling Foo::init_foo from __init_start; size_of(Foo) = %d\n", sizeof(Foo));
|
||||
printf ("BROKENLY calling Foo::init_foo from __init_start; size_of(Foo) = %ld\n", (long) sizeof(Foo));
|
||||
foos = FOOLISH_NUMBER;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user