diff --git a/support/src/utils/file.cpp b/support/src/utils/file.cpp index 1f9ce7a4..f7d825e1 100644 --- a/support/src/utils/file.cpp +++ b/support/src/utils/file.cpp @@ -29,7 +29,7 @@ namespace { [[nodiscard]] auto remove_directory_recursively(std::string_view path) -> bool { #if defined(_WIN32) - WIN32_FIND_DATA fd{}; + WIN32_FIND_DATAA fd{}; auto search = repertory::utils::path::combine(path, {"*.*"}); auto find = ::FindFirstFileA(search.c_str(), &fd); if (find != INVALID_HANDLE_VALUE) {