[COPYSUP]
authorPierre Schweitzer <pierre@reactos.org>
Wed, 26 Jul 2017 09:55:30 +0000 (09:55 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 26 Jul 2017 09:55:30 +0000 (09:55 +0000)
Remove leftovers from some attempted ugly things.
Should fix MSVC build

svn path=/trunk/; revision=75410

reactos/sdk/lib/drivers/copysup/copysup.c

index d7f7051..69d7da1 100644 (file)
@@ -548,8 +548,7 @@ FsRtlCopyWrite2(
             {
                 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 @@ FsRtlCopyWrite2(
         {
             PFAST_IO_DISPATCH FastIoDispatch;
             PDEVICE_OBJECT RelatedDeviceObject;
-            C_ASSERT(sizeof(LARGE_INTEGER) == sizeof(LONGLONG));
 
             RelatedDeviceObject = IoGetRelatedDeviceObject(FileObject);
             FastIoDispatch = RelatedDeviceObject->DriverObject->FastIoDispatch;