From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23877 invoked by alias); 10 Jun 2003 10:27:14 -0000 Mailing-List: contact ecos-cvs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Post: List-Help: , Sender: ecos-cvs-owner@sources.redhat.com List-Subscribe: Received: (qmail 23840 invoked by uid 9341); 10 Jun 2003 10:27:14 -0000 Date: Tue, 10 Jun 2003 10:27:00 -0000 Message-ID: <20030610102714.23826.qmail@sources.redhat.com> From: asl@sources.redhat.com To: ecos-cvs@sources.redhat.com Subject: ecos/packages/language/c/libc/stdio/current Ch ... X-SW-Source: 2003/txt/msg00955.txt.bz2 List-Id: 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.