summaryrefslogtreecommitdiff
path: root/UnixPkg/UnixBlockIoDxe
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-14 22:51:06 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-14 22:51:06 +0000
commit47d475f91757e87d8c54e35129c2b3933a44e3e1 (patch)
tree94998a674f2c5362e9377ba27b542f46516c12a8 /UnixPkg/UnixBlockIoDxe
parent67f86803ce95fad3df18d992998114e8c7243389 (diff)
downloadedk2-47d475f91757e87d8c54e35129c2b3933a44e3e1.zip
edk2-47d475f91757e87d8c54e35129c2b3933a44e3e1.tar.gz
edk2-47d475f91757e87d8c54e35129c2b3933a44e3e1.tar.bz2
Fix 64-bit compile bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10650 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/UnixBlockIoDxe')
-rw-r--r--UnixPkg/UnixBlockIoDxe/UnixBlockIo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c b/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c
index 90a9acf..f61db94 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
)
/*++