[Libreoffice-commits] core.git: tools/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 9 01:51:59 UTC 2019
tools/source/misc/cpuid.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fc0850d2784eaa79257cf1ea8c5d078c5241b5bf
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Tue Jul 9 10:47:20 2019 +0900
Commit: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
CommitDate: Tue Jul 9 10:49:33 2019 +0900
fix android build - fallback getCpuId only had one parameter
Change-Id: I91c679506aad727c7f536e79e79a720db860b5ae
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;
}
More information about the Libreoffice-commits
mailing list