mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
CMake: fix gcc build
This commit is contained in:
parent
19cc93437e
commit
9897a80216
13 changed files with 55 additions and 69 deletions
|
@ -1707,7 +1707,7 @@ fs::file fs::file::from_native_handle(native_handle handle)
|
|||
fs::file result;
|
||||
|
||||
#ifdef _WIN32
|
||||
result.m_file = std::make_unique<windows_file>((const HANDLE)handle);
|
||||
result.m_file = std::make_unique<windows_file>(static_cast<HANDLE>(handle));
|
||||
#else
|
||||
result.m_file = std::make_unique<unix_file>(handle);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue