public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Krzysztof Halasa <khc@pm.waw.pl>
Cc: 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 22:35:18 +0200	[thread overview]
Message-ID: <1245443718.15367.46.camel@violet> (raw)
In-Reply-To: <m34ouc55ka.fsf@intrepid.localdomain>

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.

Regards

Marcel



  reply	other threads:[~2009-06-19 20:35 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 [this message]
2009-06-19 21:19   ` Randy Dunlap
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=1245443718.15367.46.camel@violet \
    --to=marcel@holtmann.org \
    --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 \
    /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