summaryrefslogtreecommitdiffstats
path: root/rfb/rfbproto.h
diff options
context:
space:
mode:
authorChristian Beier <[email protected]>2017-02-21 18:22:01 +0100
committerChristian Beier <[email protected]>2017-02-21 18:22:01 +0100
commitdbf5f9d51476eb513e26559e78fc524a267504d7 (patch)
treefd4cf55d79dbcd5c51c9c67e357da2ba685433de /rfb/rfbproto.h
parent417eb7590b8bd9ff68ba4615f8dbb3c4ef1c3e77 (diff)
downloadlibtdevnc-dbf5f9d51476eb513e26559e78fc524a267504d7.tar.gz
libtdevnc-dbf5f9d51476eb513e26559e78fc524a267504d7.zip
Fix "rfbBool's size is not 1" runtime error with MSVC
Diffstat (limited to 'rfb/rfbproto.h')
-rw-r--r--rfb/rfbproto.h2
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