summaryrefslogtreecommitdiffstats
path: root/libvncclient/rfbproto.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/rfbproto.c
parent56234cd0b656de3c8827288f2adf78c9cb12d0c5 (diff)
downloadlibvncserver-fe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532.zip
libvncserver-fe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532.tar.gz
Fix (most) MinGW32 compiler warnings.
Diffstat (limited to 'libvncclient/rfbproto.c')
-rw-r--r--libvncclient/rfbproto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index dd06ebd..d10e8a6 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -1045,7 +1045,9 @@ InitialiseRFBConnection(rfbClient* client)
rfbProtocolVersionMsg pv;
int major,minor;
uint32_t authScheme;
+#ifdef LIBVNCSERVER_WITH_CLIENT_TLS
uint32_t subAuthScheme;
+#endif
rfbClientInitMsg ci;
/* if the connection is immediately closed, don't report anything, so
OpenPOWER on IntegriCloud