From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerone Young Subject: Re: [PATCH] fix tool pygrub build on x64 Date: Mon, 16 May 2005 16:22:33 -0500 Message-ID: <1116278554.4807.94.camel@thinkpad> References: <1116270934.4807.92.camel@thinkpad> <20050516211310.GA15474@snarc.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050516211310.GA15474@snarc.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Vincent Hanquez Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Maybe on i386 but not x86-64. On Mon, 2005-05-16 at 23:13 +0200, Vincent Hanquez wrote: > 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" > -- Jerone Young IBM Linux Technology Center jyoung5@us.ibm.com 512-838-1157 (T/L: 678-1157)