From 6298944c3640fa1be995813556dce3fc76540f5e Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 11 Oct 2017 02:09:06 +0000 Subject: [PATCH] WIN32_FIND_DATA -> WIN32_FIND_DATAW. Should fix mingw bot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315413 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Windows/Path.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index 1ab354bf094..94cb2e422c5 100644 --- a/lib/Support/Windows/Path.inc +++ b/lib/Support/Windows/Path.inc @@ -799,7 +799,7 @@ int mapped_file_region::alignment() { return SysInfo.dwAllocationGranularity; } -static basic_file_status status_from_find_data(WIN32_FIND_DATA *FindData) { +static basic_file_status status_from_find_data(WIN32_FIND_DATAW *FindData) { return basic_file_status(file_type_from_attrs(FindData->dwFileAttributes), perms_from_attrs(FindData->dwFileAttributes), FindData->ftLastAccessTime.dwHighDateTime, -- 2.50.1