Author: pschweitzer
Date: Wed Jul 26 09:55:30 2017
New Revision: 75410
URL:
http://svn.reactos.org/svn/reactos?rev=75410&view=rev
Log:
[COPYSUP]
Remove leftovers from some attempted ugly things.
Should fix MSVC build
Modified:
trunk/reactos/sdk/lib/drivers/copysup/copysup.c
Modified: trunk/reactos/sdk/lib/drivers/copysup/copysup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/copysup/co…
==============================================================================
--- trunk/reactos/sdk/lib/drivers/copysup/copysup.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/drivers/copysup/copysup.c [iso-8859-1] Wed Jul 26 09:55:30 2017
@@ -548,8 +548,7 @@
{
WriteOffset.LowPart = Fcb->FileSize.LowPart;
LastOffset.LowPart = WriteOffset.LowPart + Length;
- AboveFour = (((LARGE_INTEGER)LastOffset).LowPart <
- Fcb->FileSize.LowPart);
+ AboveFour = (LastOffset.LowPart < Fcb->FileSize.LowPart);
}
/* Make sure caching is still enabled */
@@ -580,7 +579,6 @@
{
PFAST_IO_DISPATCH FastIoDispatch;
PDEVICE_OBJECT RelatedDeviceObject;
- C_ASSERT(sizeof(LARGE_INTEGER) == sizeof(LONGLONG));
RelatedDeviceObject = IoGetRelatedDeviceObject(FileObject);
FastIoDispatch = RelatedDeviceObject->DriverObject->FastIoDispatch;