Fix invalid __cpu_mask argument

This commit is contained in:
2026-01-25 22:36:33 +01:00
parent 0fcd543f02
commit b0e15d389c

View File

@@ -90,7 +90,7 @@ void SetProcessPriority(std::string const& logChannel, uint32 affinity, bool hig
{ {
CPU_ZERO(&mask); CPU_ZERO(&mask);
sched_getaffinity(0, sizeof(mask), &mask); sched_getaffinity(0, sizeof(mask), &mask);
LOG_INFO(logChannel, "Using processors (bitmask, hex): {:x}", *(__cpu_mask*)(&mask)); // LOG_INFO(logChannel, "Using processors (bitmask, hex): {:x}", *(__cpu_mask*)(&mask));
} }
} }