diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-03 21:18:59 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-03 21:18:59 +0000 |
commit | ceb5caaf1823492e2dde7dd7e1e73634b1fc9d93 (patch) | |
tree | 3020986bce37b44b97e6c9a4d37b46af2f5593b0 /vnc.c | |
parent | c904d61f78479b46a154273960e5f4e2b22d6b55 (diff) | |
download | qemu-ceb5caaf1823492e2dde7dd7e1e73634b1fc9d93.zip qemu-ceb5caaf1823492e2dde7dd7e1e73634b1fc9d93.tar.gz qemu-ceb5caaf1823492e2dde7dd7e1e73634b1fc9d93.tar.bz2 |
removed ssize_t for win32 compatibility
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1900 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vnc.c')
-rw-r--r-- | vnc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |