From 4d7ecfb8c174bb25631aef662bad5d3eb6181363 Mon Sep 17 00:00:00 2001
From: dscho <dscho>
Date: Thu, 17 Jan 2002 09:36:43 +0000
Subject: compile warning fix

---
 mac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 	}
     }
-- 
cgit v1.2.3

