[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A3C00E7.9020808@oracle.com>
Date: Fri, 19 Jun 2009 14:19:35 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Marcel Holtmann <marcel@...tmann.org>
CC: Krzysztof Halasa <khc@...waw.pl>, Dave Airlie <airlied@...ux.ie>,
Keith Packard <keithp@...thp.com>,
linux-kernel@...r.kernel.org, dri-devel@...ts.sourceforge.net
Subject: Re: Trivial fixes for drivers/gpu/drm/i915/
Marcel Holtmann wrote:
> Hi Krzysztof,
>
>> size_t is (some sort of) int on x86-32 and long on x86-64, eliminate
>> compiler warnings by casting to long.
>
> just using %zd or %zu would do the same trick and avoid stupid casts.
I.e., using %zd or %zu is the preferred fix.
--
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists