summaryrefslogtreecommitdiffstats
path: root/mac.c
diff options
context:
space:
mode:
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 16487b1..0f1332b 100644
--- a/mac.c
+++ b/mac.c
@@ -266,7 +266,7 @@ PtrAddEvent(buttonMask, x, y, cl)
void
ScreenInit(int argc, char**argv)
{
- rfbScreen = rfbGetScreen(argc,argv,
+ rfbScreen = rfbGetScreen(&argc,argv,
CGDisplayPixelsWide(kCGDirectMainDisplay),
CGDisplayPixelsHigh(kCGDirectMainDisplay),
CGDisplayBitsPerSample(kCGDirectMainDisplay),