Mercurial > ecos
diff packages/language/c/libc/stdio/current/ChangeLog @ 1045:2c741788379c
* src/output/vfnprintf.cxx (SARG): Cast size_t to long. This seems
to stop gcc from producing wrong code for the plain int clause. The
wrong code causes negative numbers to be printed as positive because
the sign extend from 32 bits to 64 bits is wrong.
| author | asl |
|---|---|
| date | Tue, 10 Jun 2003 10:27:13 +0000 |
| parents | 391d6f1c4de1 |
| children | ebabafdc2d94 |
line wrap: on
line diff
--- a/packages/language/c/libc/stdio/current/ChangeLog +++ b/packages/language/c/libc/stdio/current/ChangeLog @@ -1,3 +1,11 @@ +2003-06-10 Andrew Lunn <andrew.lunn@ascom.ch> + Knud Wöhler <woehler@ossi.fho-emden.de> + + * src/output/vfnprintf.cxx (SARG): Cast size_t to long. This seems + to stop gcc from producing wrong code for the plain int clause. The + wrong code causes negative numbers to be printed as positive because + the sign extend from 32 bits to 64 bits is wrong. + 2003-03-06 Gary Thomas <gary@mlbassoc.com> * src/input/fread.cxx (fread): Simple EOF should not set error.
