From b6a58b8c0cb74bcdc76161a9f7fa13a166daeaa9 Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Tue, 14 May 2019 07:40:18 +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 3319c5e..aa8a6a5 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((void*)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)) {