mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 02:40:26 +00:00
rang.hpp: suppress compiler warning
This commit is contained in:
@@ -174,9 +174,9 @@ namespace rang_implementation {
|
||||
{
|
||||
// Dynamic load for binary compability with old Windows
|
||||
const auto ptrGetFileInformationByHandleEx
|
||||
= reinterpret_cast<decltype(&GetFileInformationByHandleEx)>(
|
||||
= reinterpret_cast<decltype(&GetFileInformationByHandleEx)>(reinterpret_cast<void *>(
|
||||
GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")),
|
||||
"GetFileInformationByHandleEx"));
|
||||
"GetFileInformationByHandleEx")));
|
||||
if (!ptrGetFileInformationByHandleEx) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user