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