Skip to content

Commit c81fd39

Browse files
ARCH/X86: compile error fix
Signed-off-by: Arun Chandran <[email protected]>
1 parent d25bc65 commit c81fd39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ucs/arch/x86_64/cpu.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,12 @@ ucs_cpu_model_t ucs_arch_get_cpu_model()
499499
}
500500

501501

502-
int ucs_arch_get_cpu_flag()
502+
ucs_cpu_flag_t ucs_arch_get_cpu_flag()
503503
{
504-
static int cpu_flag = UCS_CPU_FLAG_UNKNOWN;
504+
static ucs_cpu_flag_t cpu_flag = UCS_CPU_FLAG_UNKNOWN;
505505

506506
if (UCS_CPU_FLAG_UNKNOWN == cpu_flag) {
507-
uint32_t result = 0;
507+
ucs_cpu_flag_t result = 0;
508508
uint32_t base_value;
509509
uint32_t _eax, _ebx, _ecx, _edx;
510510

0 commit comments

Comments
 (0)