From b5aa79a66df7ce3ea6771b9582f68ef1ab5cdd2d Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Tue, 21 Aug 2018 08:50:29 +0200 Subject: [PATCH] [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 fc78f7cbe13..6f82f65c93d 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: