summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qdiriterator/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/qdiriterator/main.cpp')
-rw-r--r--tests/benchmarks/qdiriterator/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/qdiriterator/main.cpp b/tests/benchmarks/qdiriterator/main.cpp
index 13128f7..1a5ffbb 100644
--- a/tests/benchmarks/qdiriterator/main.cpp
+++ b/tests/benchmarks/qdiriterator/main.cpp
@@ -107,7 +107,7 @@ static int posix_helper(const wchar_t *dirpath)
wchar_t appendedPath[MAX_PATH];
wcscpy(appendedPath, dirpath);
wcscat(appendedPath, L"\\*");
- hSearch = FindFirstFileW(appendedPath, &fd);
+ hSearch = FindFirstFile(appendedPath, &fd);
appendedPath[origDirPathLength] = 0;
if (hSearch == INVALID_HANDLE_VALUE) {