8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00

"usual requirement for WinAPI" that documented nowhere.

This commit is contained in:
Vlad Khorsun 2023-06-16 18:28:17 +03:00
parent 24d4819ed4
commit 84a70c8646

View File

@ -582,7 +582,7 @@ void setDefaultAffinity()
return;
}
HalfStaticArray<UCHAR, 1024> buff;
HalfStaticArray<UCHAR, 1024, SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX> buff;
auto p = buff.getBuffer(len);
auto const end = p + len;
auto pSLPI = reinterpret_cast<PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX>(p);