> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 12:06:02 up 5 days,  7:11,  1 user,  load average: 0.42, 0.43, 0.33
This commit is contained in:
tracer-ics2023
2024-09-22 12:06:03 +08:00
committed by zzy
parent b6630b9307
commit 64683e070b

View File

@ -53,7 +53,7 @@ static inline int print_fmt(char **out, int n, const char** fmt, va_list (*ap))
(*out) ++;
break;
case 'p':
ret = num_to_ascii(va_arg(*ap, intptr_t), 16, n, *out);
ret = num_to_ascii((long)(va_arg(*ap, void*)), 16, n, *out);
(*out) += ret;
break;
case 'x':