Skip to content

Commit ea78807

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ucs/arch/x86_64/cpu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,9 @@ 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) {
507507
uint32_t result = 0;

0 commit comments

Comments
 (0)