> 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
 22:05:59 up 6 days, 17:11,  1 user,  load average: 0.68, 1.04, 1.06
This commit is contained in:
tracer-ics2023
2024-09-23 22:06:02 +08:00
committed by zzy
parent 8c67b50544
commit 782a6e2f0d

View File

@ -67,7 +67,7 @@ int _open(const char *path, int flags, mode_t mode) {
}
int _write(int fd, void *buf, size_t count) {
_syscall_(SYS_write, fd, buf, count);
_syscall_(SYS_write, fd, (intptr_t)buf, count);
return 0;
}