Skip to content
Snippets Groups Projects
Commit ee2529b8 authored by Brad King's avatar Brad King Committed by Code Review
Browse files

Merge "Tests: fix a warning with acc"

parents 9fd64779 e8269442
No related branches found
No related tags found
No related merge requests found
......@@ -88,9 +88,9 @@ int testSystemInformation(int, char*[])
printMethod3(info, GetHostMemoryUsed(), "KiB");
printMethod3(info, GetProcMemoryUsed(), "KiB");
for (int i = 0; i <= 31; i++)
for (long int i = 0; i <= 31; i++)
{
if (info.DoesCPUSupportFeature(1 << i))
if (info.DoesCPUSupportFeature(static_cast<long int>(1) << i))
{
kwsys_ios::cout << "CPU feature " << i << "\n";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment