aboutsummaryrefslogtreecommitdiff
path: root/src/graph/viewAlone/spoon2D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/viewAlone/spoon2D.c')
-rw-r--r--src/graph/viewAlone/spoon2D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph/viewAlone/spoon2D.c b/src/graph/viewAlone/spoon2D.c
index 2765ce56..00f46e31 100644
--- a/src/graph/viewAlone/spoon2D.c
+++ b/src/graph/viewAlone/spoon2D.c
@@ -86,7 +86,7 @@ spoonView2D(void)
sprintf(errorStr,"%s","(viewAlone) execution of the TwoDimensionalViewport process");
sprintf(envAXIOM,"%s",oa_getenv("AXIOM"));
sprintf(runView,"%s%s",envAXIOM,"/lib/view2D");
- check(execl(runView,runView,NULL));
+ check(execl(runView,runView, (char*)NULL));
fprintf(stderr,"Could not execute view2D! Check that view2D is on your path variable.\n");
exit(-1);