aboutsummaryrefslogtreecommitdiff
path: root/src/graph/viewman/fun3D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/viewman/fun3D.c')
-rw-r--r--src/graph/viewman/fun3D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph/viewman/fun3D.c b/src/graph/viewman/fun3D.c
index a0ced1b6..177aece1 100644
--- a/src/graph/viewman/fun3D.c
+++ b/src/graph/viewman/fun3D.c
@@ -276,7 +276,7 @@ forkView3D(int typeOfViewport)
#endif
sprintf(envAXIOM,"%s",oa_getenv("AXIOM"));
sprintf(runView,"%s%s",envAXIOM,"/lib/view3D");
- check(execl(runView,runView,NULL));
+ check(execl(runView,runView, (char*) NULL));
fprintf(stderr,"The viewport manager could not execute view3D.\nCheck that view3D is on your PATH.\n");
exit(-1);