summaryrefslogtreecommitdiffstats
path: root/libvncclient/zrle.c
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-03-17 14:43:55 +0100
committerChristian Beier <dontmind@freeshell.org>2011-03-17 14:43:55 +0100
commitfe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532 (patch)
tree8539521ed668d65f6dbd59c491bc9565bce6e8cb /libvncclient/zrle.c
parent56234cd0b656de3c8827288f2adf78c9cb12d0c5 (diff)
downloadlibtdevnc-fe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532.tar.gz
libtdevnc-fe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532.zip
Fix (most) MinGW32 compiler warnings.
Diffstat (limited to 'libvncclient/zrle.c')
-rw-r--r--libvncclient/zrle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/zrle.c b/libvncclient/zrle.c
index 16fc091..a14ad44 100644
--- a/libvncclient/zrle.c
+++ b/libvncclient/zrle.c
@@ -363,7 +363,7 @@ static int HandleZRLETile(rfbClient* client,
{
return -8;
}
- else if( (type >= 130)&&(type <= 255) ) /* palette RLE */
+ else if( type >= 130 ) /* palette RLE */
{
CARDBPP palette[128];
int i,j;