From 47d475f91757e87d8c54e35129c2b3933a44e3e1 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Wed, 14 Jul 2010 22:51:06 +0000 Subject: Fix 64-bit compile bug git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10650 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/UnixBlockIoDxe/UnixBlockIo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'UnixPkg') diff --git a/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c b/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c index 90a9acf868..f61db9481b 100644 --- a/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c +++ b/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c @@ -973,7 +973,7 @@ Returns: return EFI_MEDIA_CHANGED; } - if ((UINT32) Buffer % Private->Media.IoAlign != 0) { + if ((UINTN) Buffer % Private->Media.IoAlign != 0) { return EFI_INVALID_PARAMETER; } @@ -1256,7 +1256,7 @@ SetFilePointer64 ( IN UNIX_BLOCK_IO_PRIVATE *Private, IN INT64 DistanceToMove, OUT UINT64 *NewFilePointer, - IN INTN MoveMethod + IN INT32 MoveMethod ) /*++ -- cgit v1.2.3