提交 ceb5caaf 编写于 作者: B bellard

removed ssize_t for win32 compatibility


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1900 c046a42c-6fe2-441c-8c8c-71466251a162
上级 c904d61f
......@@ -431,7 +431,7 @@ static void vnc_client_error(VncState *vs)
static void vnc_client_write(void *opaque)
{
ssize_t ret;
long ret;
VncState *vs = opaque;
ret = send(vs->csock, vs->output.buffer, vs->output.offset, 0);
......@@ -456,7 +456,7 @@ static void vnc_read_when(VncState *vs, VncReadEvent *func, size_t expecting)
static void vnc_client_read(void *opaque)
{
VncState *vs = opaque;
ssize_t ret;
long ret;
buffer_reserve(&vs->input, 4096);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册