Messages in this thread |  | | | Date | Thu, 04 Nov 2010 15:26:41 +0100 | | From | Jiri Slaby <> | | Subject | Re: mmotm 2010-10-31-21-24 uploaded (drivers/nfc/pn544) |
| |
On 11/02/2010 08:57 AM, Matti J. Aaltonen wrote: > On Mon, 2010-11-01 at 11:00 -0700, ext Randy Dunlap wrote: >> Use %zd to print ssize_t variables and %zu to print size_t: >> >> drivers/nfc/pn544.c:332: warning: format '%d' expects type 'int', but argument 6 has type 'size_t' >> drivers/nfc/pn544.c:442: warning: format '%d' expects type 'int', but argument 6 has type 'size_t' > > Thanks, I'll do that... I'm using Sparse and checkpatch --strict but > neither gave me a warning about that.
You would need a 64bit compiler to emit that for size_t.
regards, -- js suse labs
|  |