diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-07-14 22:51:06 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-07-14 22:51:06 +0000 |
commit | 47d475f91757e87d8c54e35129c2b3933a44e3e1 (patch) | |
tree | 94998a674f2c5362e9377ba27b542f46516c12a8 /UnixPkg | |
parent | 67f86803ce95fad3df18d992998114e8c7243389 (diff) | |
download | edk2-platforms-47d475f91757e87d8c54e35129c2b3933a44e3e1.tar.xz |
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')
-rw-r--r-- | UnixPkg/UnixBlockIoDxe/UnixBlockIo.c | 4 |
1 files changed, 2 insertions, 2 deletions
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
)
/*++
|