From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: Re: [PATCH] fix tool pygrub build on x64 Date: Mon, 16 May 2005 23:13:10 +0200 Message-ID: <20050516211310.GA15474@snarc.org> References: <1116270934.4807.92.camel@thinkpad> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1116270934.4807.92.camel@thinkpad> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jerone Young Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, May 16, 2005 at 02:15:33PM -0500, Jerone Young wrote: > This fixes tool pygrub to build on x86-64 systems. Currently gcc is > saying there are incompatible pointer type passed into function > ext2fs_file_read. The address of variable n is used in ext2fs_file_read > which takes an "unsigned int *" as the 4th variable. "n" is currently > declared as an "size_t" which is an "int". This declares n as an > "unsigned int" instead of using type "size_t". size_t is "unsigned long" not "int" -- Vincent Hanquez