Re: [PATCH 03/17] uml: fix 2 harmless cast warnings for 64-bit

From: Blaisorblade
Date: Fri Apr 07 2006 - 17:47:04 EST


On Friday 07 April 2006 18:02, Jeff Dike wrote:
> On Fri, Apr 07, 2006 at 04:30:54PM +0200, Paolo 'Blaisorblade' Giarrusso
wrote:
> > From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
> >
> > Fix two harmless warnings in 64-bit compilation (the 2nd doesn't trigger
> > for now because of a missing __attribute((format)) for cow_printf, but
> > next patches fix that).

> I don't object to this bit, but it doesn't seem to match the comment. Was
> there another cast that you meant to have here, but missed?

No, the below one was a whitespace change which slipped in without mention
(but that I confirm).

> > - n = min((size_t)len, ARRAY_SIZE(console_buf) - console_index);
> > + n = min((size_t) len, ARRAY_SIZE(console_buf) - console_index);

--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade





___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/