projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c904d61
)
removed ssize_t for win32 compatibility
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 3 May 2006 21:18:59 +0000
(21:18 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 3 May 2006 21:18:59 +0000
(21:18 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1900
c046a42c
-6fe2-441c-8c8c-
71466251a162
vnc.c
patch
|
blob
|
history
diff --git
a/vnc.c
b/vnc.c
index 088f9cfac0d58f25b353a224bebcc3389a94d8a8..93f61a70b79c84700ef938868579036c7efa6b58 100644
(file)
--- 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);