We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3092870 commit e407410Copy full SHA for e407410
sycl/source/detail/os_util.cpp
@@ -322,7 +322,7 @@ getFilesWithAccessTime(const std::string &Path) {
322
// Convert to wise string.
323
char *path = new char[Entry.path().string().length() + 1];
324
strcpy(path, Entry.path().string().c_str());
325
- if (GetFileAttributesEx(path, GetFileExInfoStandard, &FileData)) {
+ if (GetFileAttributesExA(path, GetFileExInfoStandard, &FileData)) {
326
// Convert FILETIME to uint64_t.
327
ULARGE_INTEGER Time;
328
Time.LowPart = FileData.ftLastAccessTime.dwLowDateTime;
0 commit comments