mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[NTOSKRNL]
- Fix MSVC warning about signed/unsigned comparison. svn path=/trunk/; revision=53707
This commit is contained in:
@@ -198,8 +198,8 @@ FsRtlCopyRead(IN PFILE_OBJECT FileObject,
|
||||
|
||||
if (IoStatus->Status != STATUS_END_OF_FILE)
|
||||
{
|
||||
ASSERT(FcbHeader->FileSize.QuadPart >=
|
||||
FileOffset->QuadPart + IoStatus->Information);
|
||||
ASSERT((ULONGLONG)FcbHeader->FileSize.QuadPart >=
|
||||
(FileOffset->QuadPart + IoStatus->Information));
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -219,8 +219,8 @@ FsRtlCopyRead(IN PFILE_OBJECT FileObject,
|
||||
if (Result == TRUE)
|
||||
{
|
||||
ASSERT((IoStatus->Status == STATUS_END_OF_FILE) ||
|
||||
((LONGLONG)(FileOffset->QuadPart + IoStatus->Information) <=
|
||||
FcbHeader->FileSize.QuadPart));
|
||||
((FileOffset->QuadPart + IoStatus->Information) <=
|
||||
(ULONGLONG)FcbHeader->FileSize.QuadPart));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user