summaryrefslogtreecommitdiffstats
path: root/pnmshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'pnmshow.c')
-rw-r--r--pnmshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pnmshow.c b/pnmshow.c
index 8f4ceed..05e45b9 100644
--- a/pnmshow.c
+++ b/pnmshow.c
@@ -45,7 +45,7 @@ int main(int argc,char** argv)
paddedWidth+=4-(width&3);
/* initialize data for vnc server */
- rfbScreen = rfbGetScreen(argc,argv,paddedWidth,height,8,3,4);
+ rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,3,4);
if(argc>1)
rfbScreen->desktopName = argv[1];
else