From 3a9931fe6ec82112c45fb80585f950817d854bf0 Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Tue, 14 May 2019 07:38:41 +0200 Subject: [PATCH] Work on CI support for MingW --- include/ghc/filesystem.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ghc/filesystem.hpp b/include/ghc/filesystem.hpp index 8c17e82..3319c5e 100644 --- a/include/ghc/filesystem.hpp +++ b/include/ghc/filesystem.hpp @@ -1568,7 +1568,7 @@ GHC_INLINE path resolveSymlink(const path& p, std::error_code& ec) } char buffer[MAXIMUM_REPARSE_DATA_BUFFER_SIZE] = {0}; - REPARSE_DATA_BUFFER& reparseData = *reinterpret_cast(buffer); + REPARSE_DATA_BUFFER& reparseData = *reinterpret_cast((void*)buffer); ULONG bufferUsed; path result; if (DeviceIoControl(file.get(), FSCTL_GET_REPARSE_POINT, 0, 0, &reparseData, sizeof(buffer), &bufferUsed, 0)) {