summaryrefslogtreecommitdiffstats
path: root/vncev.c
diff options
context:
space:
mode:
Diffstat (limited to 'vncev.c')
-rw-r--r--vncev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncev.c b/vncev.c
index ca3b379..ba00f9c 100644
--- a/vncev.c
+++ b/vncev.c
@@ -99,7 +99,7 @@ void newclient(rfbClientPtr cl)
int main(int argc,char** argv)
{
- rfbScreenInfoPtr s=rfbGetScreen(argc,argv,640,480,8,1,1);
+ rfbScreenInfoPtr s=rfbGetScreen(&argc,argv,640,480,8,1,1);
s->colourMap.is16=FALSE;
s->colourMap.count=2;
s->colourMap.data.bytes="\xd0\xd0\xd0\x30\x01\xe0";