ntdll: Fix compilation on OSX.
Sebastian Lackner
sebastian at fds-team.de
Mon May 2 11:14:40 CDT 2016
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
dlls/ntdll/directory.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
index f7fa951..9de2ed2 100644
--- a/dlls/ntdll/directory.c
+++ b/dlls/ntdll/directory.c
@@ -1970,7 +1970,7 @@ static int read_directory_getdirentries( struct dir_data *dir_data, int fd, IO_S
last_info = NULL;
goto restart;
}
- if (!has_wildcard( dir_data->->mask )) break;
+ if (!has_wildcard( dir_data->mask )) break;
/* if we have to return but the buffer contains more data, restart with a smaller size */
if (res > 0 && (single_entry || io->Information + max_dir_info_size(class) > length))
{
@@ -2157,7 +2157,7 @@ done:
* Read a single file from a directory by determining whether the file
* identified by mask exists using getattrlist.
*/
-static int read_directory_getattrlist( struct dir_data *data, int fd, IO_STATUS_BLOCK *io,
+static int read_directory_getattrlist( struct dir_data *dir_data, int fd, IO_STATUS_BLOCK *io,
void *buffer, ULONG length, BOOLEAN single_entry,
BOOLEAN restart_scan, FILE_INFORMATION_CLASS class )
{
--
2.8.0
More information about the wine-patches
mailing list