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                                       [cjwat...@ubuntu.com]


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to