diff --git a/src/arm/midr.c b/src/arm/midr.c index 29d9a85..005dbe8 100644 --- a/src/arm/midr.c +++ b/src/arm/midr.c @@ -514,7 +514,7 @@ void print_debug(struct cpuInfo* cpu) { } if (cpu->feat->SVE || cpu->feat->SVE2) { - printf("- cntb: %ld\n", cpu->feat->cntb); + printf("- cntb: %lld\n", cpu->feat->cntb); } #if defined(__APPLE__) || defined(__MACH__) diff --git a/src/common/cpu.h b/src/common/cpu.h index 1f31bcd..aabcee7 100644 --- a/src/common/cpu.h +++ b/src/common/cpu.h @@ -126,7 +126,7 @@ struct features { bool CRC32; bool SVE; bool SVE2; - uint32_t cntb; + uint64_t cntb; #endif };