Skip to content

Commit f5264a2

Browse files
committed
fix Clang warnings
1 parent 2aca213 commit f5264a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/File.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ fs::file fs::file::from_native_handle(native_handle handle)
17071707
fs::file result;
17081708

17091709
#ifdef _WIN32
1710-
result.m_file = std::make_unique<windows_file>((const HANDLE)handle);
1710+
result.m_file = std::make_unique<windows_file>(static_cast<HANDLE>(handle));
17111711
#else
17121712
result.m_file = std::make_unique<unix_file>(handle);
17131713
#endif

0 commit comments

Comments
 (0)