[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] fix tool pygrub build on x64

  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Jerone Young <jyoung5@xxxxxxxxxx>
  • Date: Mon, 16 May 2005 14:15:33 -0500
  • Delivery-date: Mon, 16 May 2005 19:16:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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".

Jerone Young
IBM Linux Technology Center
512-838-1157 (T/L: 678-1157)

Attachment: pygrub_x64_patch.diff
Description: Text Data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.