From: bellard Date: Wed, 3 May 2006 21:18:59 +0000 (+0000) Subject: removed ssize_t for win32 compatibility X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~14451 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ceb5caaf1823492e2dde7dd7e1e73634b1fc9d93;p=sdk%2Femulator%2Fqemu.git removed ssize_t for win32 compatibility git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1900 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/vnc.c b/vnc.c index 088f9cfac0..93f61a70b7 100644 --- a/vnc.c +++ b/vnc.c @@ -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);