Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756270AbZFSUfg (ORCPT ); Fri, 19 Jun 2009 16:35:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750794AbZFSUf0 (ORCPT ); Fri, 19 Jun 2009 16:35:26 -0400 Received: from senator.holtmann.net ([87.106.208.187]:34153 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751616AbZFSUfZ (ORCPT ); Fri, 19 Jun 2009 16:35:25 -0400 Subject: Re: Trivial fixes for drivers/gpu/drm/i915/ From: Marcel Holtmann To: Krzysztof Halasa Cc: Dave Airlie , Keith Packard , linux-kernel@vger.kernel.org, dri-devel@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Date: Fri, 19 Jun 2009 22:35:18 +0200 Message-Id: <1245443718.15367.46.camel@violet> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 461 Lines: 17 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/