diff --git a/README b/README index 36726e5..2874f21 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ Copyright (C) 2001 Johannes E. Schindelin What is it? ----------- -VNC is set of programs using the RFB (Remote Frame Buffer) protocol. They +VNC is a set of programs using the RFB (Remote Frame Buffer) protocol. They are designed to "export" a frame buffer via net (if you don't know VNC, I suggest you read "Basics" below). It is already in wide use for administration, but it is not that easy to program a server yourself. diff --git a/rfb.h b/rfb.h index d138620..57ab62f 100644 --- a/rfb.h +++ b/rfb.h @@ -35,6 +35,7 @@ typedef unsigned short CARD16; typedef unsigned int CARD32; typedef CARD32 Pixel; typedef CARD32 KeySym; +#define SIGNED signed /* for some strange reason, "typedef signed char Bool;" yields a four byte signed int on IRIX, but only for rfbserver.o!!! */ #define Bool signed char @@ -57,6 +58,8 @@ typedef CARD32 KeySym; #define _BYTE_ORDER _LITTLE_ENDIAN #undef Bool #define Bool char +#undef SIGNED +#define SIGNED #include /* typedef unsigned int pthread_t; */ /* SUN cc seems to have problems with inclusion of sys/types! */ diff --git a/rfbserver.c b/rfbserver.c index bd22a70..e8c913d 100644 --- a/rfbserver.c +++ b/rfbserver.c @@ -1121,7 +1121,7 @@ rfbSendCopyRegion(cl, reg, dx, dy) sraRectangleIterator* i; sraRect rect1; - printf("copyrect: "); sraRgnPrint(reg); putchar('\n'); fflush(stdout); + /* printf("copyrect: "); sraRgnPrint(reg); putchar('\n');fflush(stdout); */ i = sraRgnGetReverseIterator(reg,dx>0,dy>0); while(sraRgnIteratorNext(i,&rect1)) {