[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, Status = ObReferenceObjectByHandle( Handle,
0, 0,
IoFileObjectType, /* ReactOS Change: GCC/LD Incompatibility with exported kernel data */ *IoFileObjectType,
KernelMode, KernelMode,
(PVOID*)&FileToMarkBad, /* ReactOS Change: GCC "passing argument 5 of 'ObReferenceObjectByHandle' from incompatible pointer type" */ (PVOID*)&FileToMarkBad, /* ReactOS Change: GCC "passing argument 5 of 'ObReferenceObjectByHandle' from incompatible pointer type" */
NULL ); NULL );

View file

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