From dbf5f9d51476eb513e26559e78fc524a267504d7 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Tue, 21 Feb 2017 18:22:01 +0100 Subject: [PATCH] Fix "rfbBool's size is not 1" runtime error with MSVC --- rfb/rfbproto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index ba643b1..b680da4 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -64,7 +64,7 @@ #if defined(WIN32) && !defined(__MINGW32__) #define LIBVNCSERVER_WORDS_BIGENDIAN -#define rfbBool int +typedef int8_t rfbBool; #include #include #undef SOCKET