diff options
Diffstat (limited to 'qemu-char.c')
-rw-r--r-- | qemu-char.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-char.c b/qemu-char.c index fa60819d66..6f9861a9fc 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -442,7 +442,7 @@ static CharDriverState *qemu_chr_open_mux(CharDriverState *drv) #ifdef _WIN32 -int send_all(int fd, const uint8_t *buf, int len1) +int send_all(int fd, const void *buf, int len1) { int ret, len; @@ -487,7 +487,7 @@ static int unix_write(int fd, const uint8_t *buf, int len1) return len1 - len; } -int send_all(int fd, const uint8_t *buf, int len1) +int send_all(int fd, const void *buf, int len1) { return unix_write(fd, buf, len1); } |