mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +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:
parent
df58b26774
commit
e78aab93b0
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue