Commit 09b31219 authored by Davis King's avatar Davis King

Fix compile error in visual studio.

parent 9e74058b
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
{ {
std::array<unsigned int,4> info; std::array<unsigned int,4> info;
// Load EAX, EBX, ECX, EDX into info // Load EAX, EBX, ECX, EDX into info
__cpuid(info.data(), function_id); __cpuid((int*)info.data(), function_id);
return info; return info;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment