summaryrefslogtreecommitdiffstats
path: root/mac.c
diff options
context:
space:
mode:
authordscho <dscho>2002-01-17 09:36:43 +0000
committerdscho <dscho>2002-01-17 09:36:43 +0000
commit4d7ecfb8c174bb25631aef662bad5d3eb6181363 (patch)
tree1fc33a7b2d25c9f04dc55812c12f4d1fb5492cbb /mac.c
parent7b90c44708b6b3096419af747e4a4f3470d2d4db (diff)
downloadlibtdevnc-4d7ecfb8c174bb25631aef662bad5d3eb6181363.tar.gz
libtdevnc-4d7ecfb8c174bb25631aef662bad5d3eb6181363.zip
compile warning fix
Diffstat (limited to 'mac.c')
-rw-r--r--mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mac.c b/mac.c
index 9ea646e..3cee2f2 100644
--- a/mac.c
+++ b/mac.c
@@ -323,7 +323,7 @@ refreshCallback(CGRectCount count, const CGRect *rectArray, void *ignore)
rfbClientPtr cl;
for(cl=rfbScreen->rfbClientHead;cl;cl=cl->next)
if(!strcmp(message+1,cl->host)) {
- cl->clientData=(cl->clientData==0)?-1:0;
+ cl->clientData=(void*)((cl->clientData==0)?-1:0);
break;
}
}