From owner-freebsd-tinderbox@FreeBSD.ORG Sat Jan 20 20:05:24 2007 Return-Path: X-Original-To: tinderbox@freebsd.org Delivered-To: freebsd-tinderbox@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EBF116A414; Sat, 20 Jan 2007 20:05:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 3D47F13C455; Sat, 20 Jan 2007 20:05:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5DAA7.dip.t-dialin.net [84.165.218.167]) by redbull.bpaserver.net (Postfix) with ESMTP id 962B82E18F; Sat, 20 Jan 2007 20:41:22 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id 2F4965B482A; Sat, 20 Jan 2007 20:32:43 +0100 (CET) Date: Sat, 20 Jan 2007 20:32:42 +0100 From: Alexander Leidinger To: FreeBSD Tinderbox Message-ID: <20070120203242.61bf253d@Magellan.Leidinger.net> In-Reply-To: <20070120182210.56EBD73034@freebsd-current.sentex.ca> References: <20070120182210.56EBD73034@freebsd-current.sentex.ca> X-Mailer: Claws Mail 2.7.1 (GTK+ 2.10.8; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: amd64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Tinderbox reports, responses, and meta-comments" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2007 20:05:24 -0000 Quoting FreeBSD Tinderbox (Sat, 20 Jan 2007 13:22:10 -0500 (EST)): > /src/sys/compat/linprocfs/linprocfs.c: In function `linprocfs_doprocstat': > /src/sys/compat/linprocfs/linprocfs.c:478: warning: int format, different type arg (arg 3) > *** Error code 1 Does someone has a table of common 32/64 bit printf issues and the corresponding DTRT handling of the issues? To fix this I used something which I did found somewhere in the kernel, but I'm not sure if it is the best way to fix it. I could have casted it to int instead of keeping the precision sizeof() is offering (casting to intmax_t and using a different printf format type). At this place this would have been enough. Bye, Alexander. -- The last person who quit or was fired will be held responsible for everything that goes wrong -- until the next person quits or is fired. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137