https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b5aa79a66df7ce3ea6771b9582f68ef1ab5cdd2d

commit b5aa79a66df7ce3ea6771b9582f68ef1ab5cdd2d
Author:     Pierre Schweitzer <[email protected]>
AuthorDate: Tue Aug 21 08:50:29 2018 +0200
Commit:     Pierre Schweitzer <[email protected]>
CommitDate: Tue Aug 21 08:50:29 2018 +0200

    [FASTFAT] Drop an useless #ifdef, we have this cast in all other FSDs
---
 drivers/filesystems/fastfat/dir.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/filesystems/fastfat/dir.c 
b/drivers/filesystems/fastfat/dir.c
index fc78f7cbe1..6f82f65c93 100644
--- a/drivers/filesystems/fastfat/dir.c
+++ b/drivers/filesystems/fastfat/dir.c
@@ -530,13 +530,7 @@ DoQuery(
     }
 
     /* Obtain the callers parameters */
-#ifdef _MSC_VER
-    /* HACKHACK: Bug in the MS ntifs.h header:
-     * FileName is really a PUNICODE_STRING, not a PSTRING */
     pSearchPattern = 
(PUNICODE_STRING)Stack->Parameters.QueryDirectory.FileName;
-#else
-    pSearchPattern = Stack->Parameters.QueryDirectory.FileName;
-#endif
     FileInformationClass = 
Stack->Parameters.QueryDirectory.FileInformationClass;
 
     /* Allocate search pattern in case:

Reply via email to