From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6116 invoked by alias); 11 Apr 2012 17:24:34 -0000 Received: (qmail 6103 invoked by uid 22791); 11 Apr 2012 17:24:32 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.datasphere.ch (HELO mail.datasphere.ch) (195.70.3.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Apr 2012 17:24:19 +0000 Received: from dataspheresrv01.datasphere.ch ([195.70.3.151]) by mail.datasphere.ch (8.14.4/8.14.4) with ESMTP id q3BHOBJd007814 for ; Wed, 11 Apr 2012 19:24:16 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH] print format does not match argument type Date: Wed, 11 Apr 2012 17:24:00 -0000 Message-ID: In-Reply-To: <4F856D00.70306@onevision.com> References: <4F856D00.70306@onevision.com> From: "Patrick Monnerat" To: X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00013.txt.bz2 Roland Schwingel wrote: > %llx appears to work (tested it on win32,win64 and linux 32bit). > We can even remove the cast at all. I got no warning here. No warning, but you may have a wrong value converted at run-time: this is the case if the %llx descriptor uses a value larger than the one that gets pushed and your're running on a big-endian machine or the bytes above the pushed value are not zero... I would really keep the (unsigned long long) cast, at least for run-time purpose. > So ok... Who is doing the change? Not me: I'm not a committer ;-)) Cheers, Patrick