[llvm] r315413 - WIN32_FIND_DATA -> WIN32_FIND_DATAW.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 19:09:06 PDT 2017


Author: pcc
Date: Tue Oct 10 19:09:06 2017
New Revision: 315413

URL: http://llvm.org/viewvc/llvm-project?rev=315413&view=rev
Log:
WIN32_FIND_DATA -> WIN32_FIND_DATAW.

Should fix mingw bot.

Modified:
    llvm/trunk/lib/Support/Windows/Path.inc

Modified: llvm/trunk/lib/Support/Windows/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Path.inc?rev=315413&r1=315412&r2=315413&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Path.inc (original)
+++ llvm/trunk/lib/Support/Windows/Path.inc Tue Oct 10 19:09:06 2017
@@ -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,




More information about the llvm-commits mailing list