Revision d247d25f qemu-char.c
b/qemu-char.c | ||
---|---|---|
442 | 442 |
|
443 | 443 |
|
444 | 444 |
#ifdef _WIN32 |
445 |
int send_all(int fd, const uint8_t *buf, int len1)
|
|
445 |
int send_all(int fd, const void *buf, int len1)
|
|
446 | 446 |
{ |
447 | 447 |
int ret, len; |
448 | 448 |
|
... | ... | |
487 | 487 |
return len1 - len; |
488 | 488 |
} |
489 | 489 |
|
490 |
int send_all(int fd, const uint8_t *buf, int len1)
|
|
490 |
int send_all(int fd, const void *buf, int len1)
|
|
491 | 491 |
{ |
492 | 492 |
return unix_write(fd, buf, len1); |
493 | 493 |
} |
Also available in: Unified diff