summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2016-11-24 18:17:13 +0100
committerChristian Beier <dontmind@freeshell.org>2016-11-24 18:17:13 +0100
commit78f26fe1ff2af486997d4ed25ecc6a0ebb9d0f6a (patch)
tree6d16e94a2d7fb472d23e473b74147ebb81dc587c
parentbfee34615584982fe77b5eadd6cb0734de39b17b (diff)
downloadlibtdevnc-78f26fe1.tar.gz
libtdevnc-78f26fe1.zip
Fix building on OSX.
-rw-r--r--libvncclient/rfbproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index 9edfbad..4ff1d3b 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -147,7 +147,7 @@ void* rfbClientGetClientData(rfbClient* client, void* tag)
/* messages */
-static boolean CheckRect(rfbClient* client, int x, int y, int w, int h) {
+static rfbBool CheckRect(rfbClient* client, int x, int y, int w, int h) {
return x + w <= client->width && y + h <= client->height;
}