From 78f26fe1ff2af486997d4ed25ecc6a0ebb9d0f6a Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Thu, 24 Nov 2016 18:17:13 +0100 Subject: [PATCH] Fix building on OSX. --- libvncclient/rfbproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }