Author: tkreuzer
Date: Wed Sep 14 14:01:41 2011
New Revision: 53707
URL:
http://svn.reactos.org/svn/reactos?rev=53707&view=rev
Log:
[NTOSKRNL]
- Fix MSVC warning about signed/unsigned comparison.
Modified:
trunk/reactos/ntoskrnl/fsrtl/fastio.c
Modified: trunk/reactos/ntoskrnl/fsrtl/fastio.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/fastio.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/fastio.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/fastio.c [iso-8859-1] Wed Sep 14 14:01:41 2011
@@ -198,8 +198,8 @@
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 @@
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));
}
}