1
0
Fork 0

Fix warning C4229

This commit is contained in:
Duncan Ogilvie 2024-07-27 18:00:31 +02:00
parent e5183d6aff
commit 8f87486545
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ duint GetThreadCount()
{ {
duint threadCount = std::thread::hardware_concurrency(); duint threadCount = std::thread::hardware_concurrency();
typedef BOOL(*WINAPI GetLogicalProcessorInformationEx_t)( typedef BOOL(WINAPI * GetLogicalProcessorInformationEx_t)(
LOGICAL_PROCESSOR_RELATIONSHIP, LOGICAL_PROCESSOR_RELATIONSHIP,
PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX,
PDWORD PDWORD