From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1O111X-0004EV-Hs for mharc-grub-devel@gnu.org; Sun, 11 Apr 2010 13:32:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O111V-0004EG-Qy for grub-devel@gnu.org; Sun, 11 Apr 2010 13:32:41 -0400 Received: from [140.186.70.92] (port=42285 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O111U-0004Du-BL for grub-devel@gnu.org; Sun, 11 Apr 2010 13:32:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O111S-00024G-Vq for grub-devel@gnu.org; Sun, 11 Apr 2010 13:32:40 -0400 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:49718) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O111S-000244-RF for grub-devel@gnu.org; Sun, 11 Apr 2010 13:32:38 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1O111P-0006Iq-3L for grub-devel@gnu.org; Sun, 11 Apr 2010 17:32:35 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1O111O-0005Al-00; Sun, 11 Apr 2010 18:32:34 +0100 Date: Sun, 11 Apr 2010 18:32:34 +0100 From: Colin Watson To: The development of GNU GRUB Message-ID: <20100411173234.GD11833@riva.ucam.org> References: <4BC1C092.3010807@gmail.com> <10635786816111@192.168.2.69> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10635786816111@192.168.2.69> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: How to prepare an ISO 9660 CD for booting via GRUB ? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2010 17:32:42 -0000 On Sun, Apr 11, 2010 at 02:56:37PM +0200, Thomas Schmitt wrote: > > /usr/include/sys/cygwin.h:typedef unsigned long __uid32_t; > > So you need to use %lu or %lx on cygwin. > > Ahum. > Although "(int)" would technically suffice and > "(unsigned long)" would suffice for all known > cases, i ponder whether i should use > "%.f", (double) ... C99 has uintmax_t and %ju. If you don't want to rely on C99, unsigned long long and %llu would probably be best. I wouldn't use FP for this. -- Colin Watson [cjwatson@ubuntu.com]