From: Ian Lance Taylor Date: Tue, 17 Aug 1999 07:56:29 +0000 (+0000) Subject: 1999-08-17 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5be8a006bba3671a11ad4971e939ffd350458fe9;p=binutils-gdb.git 1999-08-17 H.J. Lu * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 1dbe50d58fa..0bf1f59d87f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +1999-08-17 H.J. Lu + + * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof. + 1999-08-09 Jakub Jelinek * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*. diff --git a/ld/testsuite/ld-cdtest/cdtest-foo.cc b/ld/testsuite/ld-cdtest/cdtest-foo.cc index 615e33cea78..c7d41a9d1a4 100644 --- a/ld/testsuite/ld-cdtest/cdtest-foo.cc +++ b/ld/testsuite/ld-cdtest/cdtest-foo.cc @@ -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; }