[FASTFAT] Drop an useless #ifdef, we have this cast in all other FSDs

This commit is contained in:
Pierre Schweitzer 2018-08-21 08:50:29 +02:00
parent 4bb1baa860
commit b5aa79a66d
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -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: