Re: [PATCH] CCID2: Fix format string for 64-bit quantities

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

 



From: Andrea Bittau <a.bittau@xxxxxxxxxxxx>
Date: Tue, 26 Sep 2006 22:48:23 +0100

> Use correct format string when printing 64 bit quantities (%L instead of %ll).
> 
> Note to Arnaldo: This patch is to be applied after the 3 patches I already sent
> you.  Else, it will either apply with some fuzz, or not at all.
> 
> Signed-off-by: Andrea Bittau <a.bittau@xxxxxxxxxxxx>

Where is "%L" defined for non-float types?  Is it supported by
all gcc versions?

The usual way to fix this it to simply cast the argument to
"long long" or "unsigned long long" and retain the format
string.

-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux