grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prepare an ISO 9660 CD for booting via GRUB ?


From: Colin Watson
Subject: Re: How to prepare an ISO 9660 CD for booting via GRUB ?
Date: Sun, 11 Apr 2010 18:32:34 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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                                       address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]