Skip to content

Commit fe8c48e

Browse files
committed
fix
1 parent 554d109 commit fe8c48e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/arch/powerpc/util/header.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ static bool is_compat_mode(void)
1717
u64 base_platform = getauxval(AT_BASE_PLATFORM);
1818
u64 platform = getauxval(AT_PLATFORM);
1919

20-
if (!strcmp((char *)platform, (char *)base_platform))
20+
if (!strcmp((char *)(long)platform, (char *)(long)base_platform))
2121
return false;
2222

2323
return true;

0 commit comments

Comments
 (0)