> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
 09:50:46  up 1 day 10:06,  2 users,  load average: 1.55, 0.84, 0.56
This commit is contained in:
tracer-ysyx 2024-01-13 09:50:46 +08:00 committed by xinyangli
parent 8e6574b477
commit 70028b686f

View file

@ -40,7 +40,7 @@ void gen_num(void) {
len = snprintf(buf_ptr, 100, "0x%x", num);
ref_len = snprintf(ref_buf_ptr, 100, "%uU", num);
break;
case 3:
case 2:
len = snprintf(buf_ptr, 100, "%d", num);
ref_len = snprintf(ref_buf_ptr, 100, "%d", num);
break;