mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[FREELDR] i386: support drives bigger than ~4GB
See issue #6669 for more details. svn path=/trunk/; revision=56993
This commit is contained in:
@@ -150,8 +150,7 @@ static LONG DiskSeek(ULONG FileId, LARGE_INTEGER* Position, SEEKMODE SeekMode)
|
||||
if (Position->LowPart & (Context->SectorSize - 1))
|
||||
return EINVAL;
|
||||
|
||||
/* FIXME: take HighPart into account */
|
||||
Context->SectorNumber = Position->LowPart / Context->SectorSize;
|
||||
Context->SectorNumber = (ULONG)(Position->QuadPart / Context->SectorSize);
|
||||
return ESUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user