diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-02-21 18:22:01 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-02-21 18:22:01 +0100 |
commit | dbf5f9d51476eb513e26559e78fc524a267504d7 (patch) | |
tree | fd4cf55d79dbcd5c51c9c67e357da2ba685433de /rfb | |
parent | 417eb7590b8bd9ff68ba4615f8dbb3c4ef1c3e77 (diff) | |
download | libtdevnc-dbf5f9d51476eb513e26559e78fc524a267504d7.tar.gz libtdevnc-dbf5f9d51476eb513e26559e78fc524a267504d7.zip |
Fix "rfbBool's size is not 1" runtime error with MSVC
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfbproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <sys/timeb.h> #include <winsock2.h> #undef SOCKET |