From: Randy Dunlap <randy.dunlap@oracle.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: Krzysztof Halasa <khc@pm.waw.pl>, Dave Airlie <airlied@linux.ie>,
Keith Packard <keithp@keithp.com>,
linux-kernel@vger.kernel.org, dri-devel@lists.sourceforge.net
Subject: Re: Trivial fixes for drivers/gpu/drm/i915/
Date: Fri, 19 Jun 2009 14:19:35 -0700 [thread overview]
Message-ID: <4A3C00E7.9020808@oracle.com> (raw)
In-Reply-To: <1245443718.15367.46.camel@violet>
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/
next prev parent reply other threads:[~2009-06-19 21:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-19 20:31 Trivial fixes for drivers/gpu/drm/i915/ Krzysztof Halasa
2009-06-19 20:35 ` Marcel Holtmann
2009-06-19 21:19 ` Randy Dunlap [this message]
2009-06-19 22:22 ` Krzysztof Halasa
2009-06-19 22:31 ` Trivial fixes for drivers/gpu/drm/i915/ (#1 V2) Krzysztof Halasa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A3C00E7.9020808@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.sourceforge.net \
--cc=keithp@keithp.com \
--cc=khc@pm.waw.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox