[CDFS_NEW] Remove a no longer required build hack

This commit is contained in:
Pierre Schweitzer 2017-11-06 19:46:43 +01:00
parent 2639dd6736
commit 818025ecc8
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 3 additions and 6 deletions

View file

@ -2295,7 +2295,7 @@ Return Value:
Status = ObReferenceObjectByHandle( Handle,
0,
IoFileObjectType, /* ReactOS Change: GCC/LD Incompatibility with exported kernel data */
*IoFileObjectType,
KernelMode,
(PVOID*)&FileToMarkBad, /* ReactOS Change: GCC "passing argument 5 of 'ObReferenceObjectByHandle' from incompatible pointer type" */
NULL );

View file

@ -935,12 +935,9 @@ Index: drivers/filesystems/cdfs_new/fsctrl.c
CdIsVolumeDirty (
IN PIRP_CONTEXT IrpContext,
IN PIRP Irp
@@ -2294,9 +2295,9 @@
Status = ObReferenceObjectByHandle( Handle,
@@ -2296,9 +2297,9 @@
0,
- *IoFileObjectType,
+ IoFileObjectType, /* ReactOS Change: GCC/LD Incompatibility with exported kernel data */
*IoFileObjectType,
KernelMode,
- &FileToMarkBad,
+ (PVOID*)&FileToMarkBad, /* ReactOS Change: GCC "passing argument 5 of 'ObReferenceObjectByHandle' from incompatible pointer type" */