This is the mail archive of the
ecos-cvs@sources.redhat.com
mailing list for the ecos project.
ecos/packages/language/c/libc/stdio/current Ch ...
- From: asl at sources dot redhat dot com
- To: ecos-cvs at sources dot redhat dot com
- Date: 10 Jun 2003 10:27:14 -0000
- Subject: ecos/packages/language/c/libc/stdio/current Ch ...
CVSROOT: /cvs/ecos
Module name: ecos
Changes by: asl@sourceware.org 2003-06-10 10:27:13
Modified files:
packages/language/c/libc/stdio/current: ChangeLog
packages/language/c/libc/stdio/current/src/output: vfnprintf.cxx
Log message:
* 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.