From 567441d750a9bee034c01bda1c52ba7c8108c3f0 Mon Sep 17 00:00:00 2001 From: rlagneau Date: Tue, 4 Jun 2024 11:40:56 +0200 Subject: [PATCH] [FIX] Fix compilation error on Linux due to cpu_x86_Linux.ipp --- modules/core/src/tools/cpu-features/x86/cpu_x86_Linux.ipp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/tools/cpu-features/x86/cpu_x86_Linux.ipp b/modules/core/src/tools/cpu-features/x86/cpu_x86_Linux.ipp index d192e2d651..9272e6e4a8 100644 --- a/modules/core/src/tools/cpu-features/x86/cpu_x86_Linux.ipp +++ b/modules/core/src/tools/cpu-features/x86/cpu_x86_Linux.ipp @@ -18,7 +18,7 @@ namespace FeatureDetector{ //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// -void cpu_x86::cpuid(int32_t out[4], int32_t x){ +void cpu_x86::cpuid(uint32_t out[4], uint32_t x){ __cpuid_count(x, 0, out[0], out[1], out[2], out[3]); } uint64_t xgetbv(unsigned int index){