summaryrefslogtreecommitdiffstats
path: root/fontsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'fontsel.c')
-rw-r--r--fontsel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fontsel.c b/fontsel.c
index 81d4699..100db81 100644
--- a/fontsel.c
+++ b/fontsel.c
@@ -38,7 +38,7 @@ void showFont(int index)
int main(int argc,char** argv)
{
rfbFontDataPtr font;
- rfbScreenInfoPtr s=rfbGetScreen(argc,argv,640,480,8,3,3);
+ rfbScreenInfoPtr s=rfbGetScreen(&argc,argv,640,480,8,3,3);
int i,j;
s->frameBuffer=(char*)malloc(640*480*3);