> 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:27:33  up 1 day  9:43,  2 users,  load average: 0.45, 0.46, 0.48
This commit is contained in:
tracer-ysyx 2024-01-13 09:27:33 +08:00 committed by xinyangli
parent 755eaa921c
commit e79bf232dc

View file

@ -34,11 +34,11 @@ void gen_num(void) {
switch(rand() % 2) {
case 0:
len = snprintf(buf_ptr, 100, "%u", num);
ref_len = snprintf(buf_ptr, 100, "%uU", num);
ref_len = snprintf(ref_buf_ptr, 100, "%uU", num);
break;
case 1:
len = snprintf(buf_ptr, 100, "0x%x", num);
ref_len = snprintf(buf_ptr, 100, "%uU", num);
ref_len = snprintf(ref_buf_ptr, 100, "%uU", num);
break;
default: assert(0);
}