summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-07-09 10:47:20 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-07-09 10:49:33 +0900
commitfc0850d2784eaa79257cf1ea8c5d078c5241b5bf (patch)
tree84393f17b4f304f0bd19fa4e31754fd76e74c30a /tools
parentf43f9b99603736a4d54f550052509eb5f4d04b45 (diff)
fix android build - fallback getCpuId only had one parameter
Change-Id: I91c679506aad727c7f536e79e79a720db860b5ae
Diffstat (limited to 'tools')
-rw-r--r--tools/source/misc/cpuid.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/misc/cpuid.cxx b/tools/source/misc/cpuid.cxx
index e8699cbdf51c..c4d4b8147595 100644
--- a/tools/source/misc/cpuid.cxx
+++ b/tools/source/misc/cpuid.cxx
@@ -28,7 +28,7 @@ void getCpuId(uint32_t array[4], uint32_t nInfoType)
__cpuid_count(nInfoType, 0, *(array + 0), *(array + 1), *(array + 2), *(array + 3));
}
#else
-void getCpuId(uint32_t array[4])
+void getCpuId(uint32_t array[4], uint32_t nInfoType)
{
array[0] = array[1] = array[2] = array[3] = 0;
}