Commit ceb5caaf1823492e2dde7dd7e1e73634b1fc9d93

Authored by bellard
1 parent c904d61f

removed ssize_t for win32 compatibility


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1900 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
... ... @@ -431,7 +431,7 @@ static void vnc_client_error(VncState *vs)
431 431  
432 432 static void vnc_client_write(void *opaque)
433 433 {
434   - ssize_t ret;
  434 + long ret;
435 435 VncState *vs = opaque;
436 436  
437 437 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)
456 456 static void vnc_client_read(void *opaque)
457 457 {
458 458 VncState *vs = opaque;
459   - ssize_t ret;
  459 + long ret;
460 460  
461 461 buffer_reserve(&vs->input, 4096);
462 462  
... ...