diff --git a/src/third_party/libdisasm/x86_format.c b/src/third_party/libdisasm/x86_format.c index aed8cce4..0ec960dc 100644 --- a/src/third_party/libdisasm/x86_format.c +++ b/src/third_party/libdisasm/x86_format.c @@ -608,7 +608,7 @@ static const char *get_insn_cpu_str( enum x86_insn_cpu cpu ) { "Pentium 4" // 10 }; - if ( cpu <= sizeof(intel)/sizeof(intel[0]) ) { + if ( cpu < sizeof(intel)/sizeof(intel[0]) ) { return intel[cpu]; } else if ( cpu == 16 ) { return "K6";